void CBCGPGridColorItem::EnableAutomaticButton | ( | LPCTSTR | lpszLabel, |
COLORREF | colorAutomatic, | ||
BOOL | bEnable = TRUE |
||
) |
Shows or hides the automatic button for the color picker.
Use this method to allow the drop-down color picker either display the automatic button, or hide the automatic button.
lpszLabel | The text of automatic button. |
colorAutomatic | The color of automatic button. |
bEnable | If TRUE, the automatic button will be displayed. If FALSE, the automatic button will be hidden. |