共用方式為


CMFCPopupMenuBar::GetDefaultMenuId

Returns the identifier of the default menu item.

UINT GetDefaultMenuId( ) const;

Return Value

Returns the identifier of the default menu item in the popup menu bar.

Requirements

Header: afxpopupmenubar.h

See Also

Reference

CMFCPopupMenuBar Class

Hierarchy Chart