CBCGPRibbonColorButton::CBCGPRibbonColorButton | ( | UINT | nID, |
LPCTSTR | lpszText, | ||
BOOL | bSimpleButtonLook, | ||
int | nSmallImageIndex, | ||
int | nLargeImageIndex, | ||
COLORREF | color = RGB(0, 0, 0) |
||
) |
Constructor.
nID | Button's command ID. |
lpszText | Specifies button's text label. |
bSimpleButtonLook | TRUE to simple button look. |
nSmallImageIndex | Zero-based index of button's small image in the parent category's image list. |
nLargeImageIndex | Zero-based index of button's large image in the parent category's image list. |
color | The RGB value of the currently selected color. |