CMFCPropertyGridColorProperty::EnableAutomaticButton
啟用色彩選取對話方塊中的 按鈕。(標準按鈕自動標記為 [自動])。
void EnableAutomaticButton(
LPCTSTR lpszLabel,
COLORREF colorAutomatic,
BOOL bEnable=TRUE
);
參數
[in] lpszLabel
自動按鈕的標籤文字。[in] colorAutomatic
自動 (預設) 色彩的 RGB 色彩值。[in] bEnable
啟用自動按鈕的TRUE ;否則, FALSE。預設值是 TRUE。
需求
標題: afxpropertygridctrl.h