CMFCColorBar::EnableOtherButton

Enables or disables the display of a dialog box that lets the user select more colors.

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

Parameters

  • [in] lpszLabel
    The text label of the other button, which displays more color choices, or NULL.

    The standard label for this button is More Colors....

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

  • [in] bEnable
    TRUE to enable thebutton; FALSE to disable the button. The default value is TRUE.

Requirements

Header: afxcolorbar.h

See Also

Reference

CMFCColorBar Class

Hierarchy Chart

CMFCColorDialog Class

CColorDialog Class