void CBCGPColorMenuButton::EnableOtherButton | ( | LPCTSTR | lpszLabel, |
BOOL | bAltColorDlg = TRUE , |
||
BOOL | bEnable = TRUE |
||
) |
Enables ability to invoke a color selection dialog from the color bar
Use this member function when you want to allow the user to select a custom color from the color dialog (system or provided by BCGProControlBar Library). When "Other" button is enabled, it appears on the popup color bar.
lpszLabel | A new button' s text |
bAltColorDlg | A new button' s text |
bEnable | Specifies whether the "Other" button should appear or not |