共用方式為


CMFCToolBar::SetLargeIcons

Specifies whether toolbar buttons display large icons.

static void SetLargeIcons(
   BOOL bLargeIcons=TRUE 
);

Parameters

  • [in] bLargeIcons
    A Boolean value that specifies which icons to use. If this parameter is TRUE, the framework displays large icons. Otherwise, the framework displays regular icons.

Remarks

The framework calls this method when the user changes the state of the Large Icons check box in the Options tab of the Customize dialog box. This method resizes all toolbars in the application.

By default, the framework displays regular icons.

For more information about the Customize dialog box, see CMFCToolBarsCustomizeDialog Class.

Requirements

Header: afxtoolbar.h

See Also

Reference

CMFCToolBar Class

Hierarchy Chart

CMFCToolBarsCustomizeDialog Class