다음을 통해 공유


CMFCColorMenuButton::EnableOtherButton

Enables and disables an "other" button that is positioned below the regular color buttons. (The standard system "other" button is labeled More Colors….)

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

Parameters

  • [in] lpszLabel
    Specifies the button text.

  • [in] bAltColorDlg
    Specify TRUE to display the CMFCColorDialog dialog box, or FALSE to display the standard system color dialog box.

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

Requirements

Header: afxcolormenubutton.h

See Also

Reference

CMFCColorMenuButton Class

Hierarchy Chart