共用方式為


CMFCVisualManagerOffice2003::GetShowAllMenuItemsHeight

Returns the height of all menu items.

virtual int GetShowAllMenuItemsHeight(
   CDC* pDC,
   const CSize& sizeDefault
);

Parameters

  • [in] pDC
    A pointer to the device context.

  • [in] sizeDefault
    Default menu size.

Return Value

By default, returns the height of all menu images plus margins.

Requirements

Header: afxvisualmanageroffice2003.h

See Also

Reference

CMFCVisualManagerOffice2003 Class

Hierarchy Chart