共用方式為


CContextMenuManager::GetMenuNames

Returns the list of menu names added to the CContextMenuManager.

void GetMenuNames(
   CStringList& listOfNames 
) const;

Parameters

  • [out] listOfNames
    A reference to a CStringList parameter. This method writes the list of menu names to this parameter.

Requirements

Header: afxcontextmenumanager.h

See Also

Reference

CContextMenuManager Class

Hierarchy Chart