void CBCGPColorBar::EnableAutomaticButton | ( | LPCTSTR | lpszLabel, |
COLORREF | colorAutomatic, | ||
BOOL | bEnable = TRUE |
||
) |
Shows or hides the automatic button
Call this member function to enable (show) or disable (hide) automatic button. The button is disabled when the lpszLabel parameter is set to NULL and/or bEnable parameter is set to FALSE.
lpszLabel | Specifies the automatic button label |
colorAutomatic | Specified an automatic button color |
bEnable | TRUE - show an automatic button |