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 automatic button on the color selection dialog box. (The standard automatic button is labeled Automatic.)
void EnableAutomaticButton(
LPCTSTR lpszLabel,
COLORREF colorAutomatic,
BOOL bEnable=TRUE
);
Parameters
[in] lpszLabel
The label text of the automatic button.[in] colorAutomatic
The RGB color value of the automatic (default) color.[in] bEnable
TRUE to enable the automatic button; otherwise, FALSE. The default value is TRUE.
Requirements
Header: afxpropertygridctrl.h