共用方式為


CMFCToolBarMenuButton::GetImageRect

Retrieves the bounding rectangle for the button image.

void GetImageRect(
   CRect& rectImage 
);

Parameters

  • [out] rectImage
    A reference to a CRect object that receives the coordinates of the image bounding rectangle.

Requirements

Header: afxtoolbarmenubutton.h

See Also

Reference

CMFCToolBarMenuButton Class

Hierarchy Chart