Share via


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 MFC Feature Pack color selection 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

Concepts

MFC Hierarchy Chart

Reference

CMFCPropertyGridColorProperty Class