Share via


CUserToolsManager::InvokeTool

Executes an application associated with the user tool that has a specified command ID.

BOOL InvokeTool(
   UINT uiCmdId 
);

Parameters

  • [in] uiCmdId
    The menu command ID associated with the user tool.

Return Value

Nonzero if the command associated with user tool was executed successfully; otherwise 0.

Remarks

Call this method to execute an application associated with the user tool that has the command ID specified by uiCmdId.

Requirements

Header: afxusertoolsmanager.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CUserToolsManager Class