Udostępnij za pośrednictwem


CMFCToolBar::SetCustomizeMode

Enables or disables customization mode for all toolbars in the application.

static BOOL __stdcall SetCustomizeMode(
   BOOL bSet=TRUE 
);

Parameters

  • [in] bSet
    A Boolean value that specifies whether to enable or disable customization mode. Set this parameter to TRUE to enable customization mode or FALSE to disable it.

Return Value

TRUE if calling this method changes the customization mode; otherwise FALSE.

Remarks

This method adjusts the layout of and redraws each toolbar in the application. Call the CMFCToolBar::IsCustomizeMode method to determine whether the application is in customization mode,

Requirements

Header: afxtoolbar.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCToolBar Class

CMFCToolBar::IsCustomizeMode