This documentation is archived and is not being maintained.


Determines whether the toolbar is displayed in the list of toolbars on the Toolbars pane of the Customize dialog box.

virtual BOOL AllowShowOnList() const;

TRUE if the toolbar object can be displayed in the list box on the toolbar customization page; otherwise FALSE.

This method is called by the framework to determine whether the list on the toolbar customization page should include a particular object derived from CMFCToolBar Class.

The default implementation always returns TRUE. Override this method when you do not want a toolbar to appear in the toolbars list in the customization dialog box.

Header: afxtoolbar.h