다음을 통해 공유


CMFCPropertyGridColorProperty::EnableOtherButton

Enables the other button on the color selection dialog box. (The standard other button is labeled More Colors….)

void EnableOtherButton(
   LPCTSTR lpszLabel,
   BOOL bAltColorDlg = TRUE,
   BOOL bEnable = TRUE 
);

Parameters

  • [in] lpszLabel
    The label text of the other button.

  • [in] bAltColorDlg
    TRUE to display the CMFCColorDialog dialog box; FALSE to display the standard color selection dialog box. The default value is TRUE.

  • [in] bEnable
    TRUE to display the other button; otherwise, FALSE. The default value is TRUE.

Requirements

Header: afxpropertygridctrl.h

See Also

Reference

CMFCPropertyGridColorProperty Class

Hierarchy Chart