void CBCGPColorBar::EnableOtherButton | ( | LPCTSTR | lpszLabel, |
BOOL | bAltColorDlg = TRUE , |
||
BOOL | bEnable = TRUE |
||
) |
Enables ability to show a new dialog box to select an alternative color
Call this member function to enable or disable an "other color" dialog box, as well as what is the type of the color dialog: standard (CColorDialog) or provided by BCGControlBar Library (CBCGPColorDialog).
lpszLabel | Specifies the "other button" label |
bAltColorDlg | Specifies whether the standard color dialog should be invoked |
bEnable | Enables or disables the "other" button |