void CBCGPGridColorItem::EnableOtherButton | ( | LPCTSTR | lpszLabel, |
BOOL | bAltColorDlg = TRUE , |
||
BOOL | bEnable = TRUE |
||
) |
Shows or hides the "other" button for the drop-down color picker.
Use this method to allow the drop-down color picker either display the "other" button, or hide the "other" button.
The "other" button allows open a color dialog to select a custom color.
lpszLabel | The "other" button text label. |
bAltColorDlg | If FALSE, the standard (system) color dialog will be displayed. |
bEnable | If TRUE, the "other" button will be displayed; if FALSE, the "other" button will be hidden. |