Assigns a tool to a particular shift/mouse combination.
Visual Basic |
---|
Public Sub ToolSet( _ ByVal Tool As enumIXTool, _ ByVal eMouse As enumIXMouseButton, _ ByVal nShift As Integer _ ) |
- Tool
An enumIXTool value to assign the eMouse parameter value to.Value Description TOOL_Hand Image panning tool. TOOL_Mag Magnifying window. TOOL_MouseWheelHorizScroll Mouse wheel horizontal scroll. TOOL_MouseWheelVertScroll Mouse wheel vertical scroll. TOOL_MouseWheelZoom Mouse wheel zoom. TOOL_None No tool selected. TOOL_Pan Image viewing pan tool. TOOL_Select Rubberband window selection tool. TOOL_ZoomIn Zoom in tool. TOOL_ZoomOut Zoom out tool. TOOL_ZoomRect Zoom rectangle tool. - eMouse
An enumIXMouseButton value to assign to the given tool.Value Description IXMOUSEBUTTON_Left Left mouse button. IXMOUSEBUTTON_Middle Middle mouse button. IXMOUSEBUTTON_MouseWheel Mouse wheel. IXMOUSEBUTTON_Right Right mouse button. - nShift
-
IXKEY_None (0)
-
IXKEY_Shift (1)
-
IXKEY_Ctrl (2)
-
IXKEY_Alt (4)
-
Sets the unique shift/mouse combination that, when executed by the application's end-user, results in applying the tool.