CUserToolsManager::IsUserToolCmd

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

BOOL IsUserToolCmd(
   UINT uiCmdId 
) const;

Parameters

  • [in] uiCmdId
    A command ID of the menu item.

Return Value

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

Remarks

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.

Requirements

Header: afxusertoolsmanager.h

See Also

Reference

CUserToolsManager Class

Hierarchy Chart