void CBCGPColorMenuButton::EnableAutomaticButton | ( | LPCTSTR | lpszLabel, |
COLORREF | colorAutomatic, | ||
BOOL | bEnable = TRUE |
||
) |
Enables the color menu button to be an automatic button
According to bEnable parameter turns this button to automatic or regular.
lpszLabel | Specifies a button's text that will be displayed when the button becomes automatic |
colorAutomatic | Specifies a new automatic color |
bEnable | Specifies whether the button is automatic or not |