共用方式為


CMFCToolBar::EnableQuickCustomization

Enables or disables the quick customization of toolbars so that the user can press the Alt key and drag a button to a new location.

static void EnableQuickCustomization(
   BOOL bEnable=TRUE 
);

Parameters

  • [in] bEnable
    TRUE to enable quick customization, FALSE to disable quick customization.

Requirements

Header: afxtoolbar.h

See Also

Reference

CMFCToolBar Class

Hierarchy Chart