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.
Enable or disable the "automatic" button of a color picker control and set the automatic (default) color.
void EnableAutomaticButton(
LPCTSTR lpszLabel,
COLORREF colorAutomatic,
BOOL bEnable=TRUE
);
Parameters
[in] lpszLabel
Specifies the automatic button's text.[in] colorAutomatic
An RGB value that specifies the automatic button's default color.[in] bEnable
Specifies whether the automatic button is enabled or disabled.
Requirements
Header: afxcolorbutton.h