Partager via


CUserToolsManager::GetMaxTools

Returns the maximum number of user tools that can be allocated in the application.

int GetMaxTools() const;

Return Value

The maximum number of user tools that can be allocated.

Remarks

Call this method to retrieve the maximum number of tools that can be allocated in the application. This number is the number of IDs in the range from the uiCmdFirst through the uiCmdLast parameters that you pass to CWinAppEx::EnableUserTools.

Requirements

Header: afxusertoolsmanager.h

See Also

Reference

CUserToolsManager Class

Hierarchy Chart