共用方式為


CMFCMenuButton::m_bOSMenu

A Boolean member variable that indicates which pop-up menu the framework displays.

BOOL m_bOSMenu;

Remarks

If m_bOSMenu is TRUE, the framework calls the inherited TrackPopupMenu method for this object. Otherwise, the framework calls CContextMenuManager::TrackPopupMenu.

Requirements

Header: afxmenubutton.h

See Also

Reference

CMFCMenuButton Class

Hierarchy Chart