Share via


CMFCToolBarsCustomizeDialog::EnableUserDefinedToolbars

Enables or disables creating new toolbars by using the Customize dialog box.

void EnableUserDefinedToolbars(
   BOOL bEnable=TRUE 
);

Parameters

  • [in] bEnable
    TRUE to enable the user-defined toolbars; FALSE to disable the toolbars.

Remarks

If bEnable is TRUE, the New, Rename and Delete buttons are displayed on the Toolbars page.

By default, or if bEnable is FALSE, these buttons are not displayed and the user cannot define new toolbars.

Requirements

Header: afxToolBarsCustomizeDialog.h

See Also

Reference

CMFCToolBarsCustomizeDialog Class

Hierarchy Chart