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