void CBCGPColorButton::EnableAutomaticButton | ( | LPCTSTR | lpszLabel, |
COLORREF | colorAutomatic, | ||
BOOL | bEnable = TRUE |
||
) |
Enables and disables "automatic" button that appears above the regular color buttons.
Call this function to enable and disable "automatic" button and set the automatic color to the specified by colorAutomatic color.
lpszLabel | Specifies the automatic button's text. |
colorAutomatic | An RGB value that specifies the automatic button's default color. |
bEnable | Specifies whether the automatic button is enabled or disabled. |