Partager via


CUserToolsManager::RemoveTool

Removes the specified user tool from the application.

BOOL RemoveTool(
   CUserTool* pTool 
);

Parameters

  • [in, out] pTool
    A pointer to a user tool to be removed.

Return Value

TRUE if the tool is successfully removed. Otherwise, FALSE.

Remarks

If the tool is successfully removed, this method deletes pTool.

Requirements

Header: afxusertoolsmanager.h

See Also

Reference

CUserToolsManager Class

Hierarchy Chart