This documentation is archived and is not being maintained.

CUserToolsManager::IsUserToolCmd

Determines whether a command ID is associated with a user tool.

BOOL IsUserToolCmd(
   UINT uiCmdId 
) const;

[in] uiCmdId

A command ID of the menu item.

Nonzero if a given command ID is associated with a user tool; otherwise 0.

This method checks whether the given command ID is in the command ID range. You specify the range when you call CWinAppEx::EnableUserTools to enable user tools.

Header: afxusertoolsmanager.h

Show: