Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Enables the display of document-specific colors instead of system colors.
void EnableDocumentColors(
LPCTSTR lpszLabel,
BOOL bEnable=TRUE
);
Parameters
[in] lpszLabel
Specifies the button text.[in] bEnable
TRUE to display document-specific colors or FALSE to display system colors.
Remarks
Use this method to display the current document colors or the system palette colors when the user clicks a color menu button.
Requirements
Header: afxcolormenubutton.h