共用方式為


CMFCToolBar::SetHeight

Sets the height of the toolbar.

void SetHeight(
   int cyHeight 
);

Parameters

  • [in] cyHeight
    The height of the toolbar, in pixels.

Remarks

This method redraws the toolbar after it sets the height.

Requirements

Header: afxtoolbar.h

See Also

Reference

CMFCToolBar Class

Hierarchy Chart