共用方式為


CMFCVisualManagerOffice2003::OnDrawShowAllMenuItems

The framework calls this method when it draws all the items in a menu

virtual void OnDrawShowAllMenuItems(
   CDC* pDC,
   CRect rect,
   CMFCVisualManager::AFX_BUTTON_STATE state
);

Parameters

  • [in] pDC
    Pointer to a device context.

  • [in] rect
    The bounding rectangle of the menu to be drawn.

  • [in] state
    The button state.

Requirements

Header: afxvisualmanageroffice2003.h

See Also

Reference

CMFCVisualManagerOffice2003 Class

Hierarchy Chart