Sets the tool button's Enabled state in the toolbar.
Visual Basic |
---|
Public Sub ToolbarSetToolEnabled( _ ByVal Tool As enumIXTool, _ ByVal bVal As Boolean _ ) |
- Tool
An enumIXTool that is being enabled or disabled.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. - bVal
- True to enable the tool button, False to disable the tool button.
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.