共用方式為


CUserToolsManager::MoveToolUp

Moves the specified user tool up in the list of user tools.

BOOL MoveToolUp(
   CUserTool* pTool 
);

Parameters

  • [in] pTool
    Specifies the user tool to move.

Return Value

Nonzero if the user tool was moved up successfully; otherwise 0.

Remarks

The method fails if the tool that the pTool parameter specifies is not in the internal list or if the tool is the first tool item in the list.

Requirements

Header: afxusertoolsmanager.h

See Also

Reference

CUserToolsManager Class

Hierarchy Chart