共用方式為


CMFCToolBar::GetColumnWidth

Returns the width of the toolbar buttons.

virtual int GetColumnWidth() const;

Return Value

A value that specifies the width of toolbar buttons.

Remarks

The framework calls this method to calculate toolbar layout. Override this method in a derived class to specify a different column width for your toolbar.

Requirements

Header: afxtoolbar.h

See Also

Reference

CMFCToolBar Class

Hierarchy Chart