Gets a tool button's Enabled state in the toolbar.
Visual Basic |
---|
Public Function ToolbarGetToolEnabled( _ ByVal Tool As enumIXTool _ ) As Boolean |
- Tool
An enumIXTool value which determines if the tool is enabled or not.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.
The Enabled state of the tool button, enabled (true) or disabled (false).
When a tool button is enabled, the application end-user can select it. When a tool button is not enabled, the tool button appears normal but cannot be selected by the user.