共用方式為


CMFCToolBarImages::SetImageSize

Sets the size of each toolbar image (source size).

void SetImageSize(
   SIZE sizeImage,
   BOOL bUpdateCount=FALSE 
);

Parameters

  • [in] sizeImage
    The new size of toolbar images.

Remarks

By default the size of the toolbar image is 16x15 pixels. Call this method if you want to use toolbar images of a different size.

Requirements

Header: afxtoolbarimages.h

See Also

Reference

CMFCToolBarImages Class

Hierarchy Chart