CBCGPColorMenuButton::CBCGPColorMenuButton | ( | UINT | uiCmdID, |
LPCTSTR | lpszText, | ||
CPalette * | pPalette = NULL |
||
) |
Constructs a CBCGPColorMenuButton object
Initializes the button's color according to the command ID.
uiCmdID | The new button's command ID |
lpszText | Specifies the button text |
pPalette | Specifies the button's color palette |