共用方式為


CMFCRibbonButton::GetMenu

Returns a handle to a Windows menu that is assigned to the ribbon button.

HMENU GetMenu() const;

Return Value

A handle to a Windows menu assigned to the button; NULL if there is no menu assigned.

Requirements

Header: afxribbonbutton.h

See Also

Reference

CMFCRibbonButton Class

Hierarchy Chart