共用方式為


CUserToolsManager::GetToolsEntryCmd

Returns the command ID of the menu item placeholder for user tools.

UINT GetToolsEntryCmd() const;

Return Value

The command ID of the placeholder.

Remarks

To enable user tools, you call CWinAppEx::EnableUserTools. The uiCmdToolsDummy parameter specifies the command ID of the tools entry command. This method returns the tools entry command ID. Wherever that ID is used in a menu, it is replaced by the list of user tools when the menu appears.

Requirements

Header: afxusertoolsmanager.h

See Also

Reference

CUserToolsManager Class

Hierarchy Chart