CToolBar::SetHeight

void SetHeight( int cyHeight );

Parameters

cyHeight

The height in pixels of the toolbar.

Remarks

This member function sets the toolbar's height to the value, in pixels, specified in cyHeight.

After calling SetSizes, use this member function to override the standard toolbar height. If the height is too small, the buttons will be clipped at the bottom.

If this function is not called, the framework uses the size of the button to determine the toolbar height.

CToolBar OverviewClass MembersHierarchy Chart

See Also    CToolBar::SetSizes, CToolBar::SetButtonInfo, CToolBar::SetButtons