Sets a tool button's Visibility state in the toolbar.
Visual Basic |
---|
Public Sub ToolbarSetToolVisible( _ ByVal Tool As enumIXTool, _ ByVal bVal As Boolean _ ) |
- Tool
An enumIXTool upon which the visibility is being set.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
- The Visibility state of the tool button, visible (true) or hidden (false).
When a tool button is visible, it appears in the display in the toolbar.