void CBCGPColorMenuButton::EnableDocumentColors | ( | LPCTSTR | lpszLabel, |
BOOL | bEnable = TRUE |
||
) |
Allows to show a document colors instead of the system palette colors.
Use this member function when you want to display the current document colors instead of the system palette colors when a color bar pops up upon pressing this button.
lpszLabel | Specifies a new button's text |
bEnable | Specifies whether the current document colors should be enabled or not |