This classes provides a simple way to create and manage "Speed Bars", also commonly called Button Bars, Tool Docs, etc.
A speed bar is a horizontal row or vertical column of button gadgets, usually with an image face denoting some program function. The speedbar gadget could be placed in the main programs window or perhaps its own window to form a floating speedbar/tooldoc.
An advantages that this class provides:
-
Speedbar button strip created & removed as a single gadget.
-
Help strings for each button can be provided, and displayed in a window title bar while a button is depressed.
-
Supports Right Mouse Button abort.
-
Supports window relativity.
-
Custom centered images.
-
Ability to change background color of the speed bar strip or use fill hook pattern.
-
Horizontal or Vertical speed bar orientation.
-
Supports hiding and exposing speed buttons in the bar.
-
Supports scrolling additional speed buttons in to view via holding down the SHIFT key while clicking and dragging the mouse left/right or up/down depending on the SPEEDBAR_Orientation setting.
-
Supports OM_NOTIFY and may be attached to either button.gadget, scroller.gadget and/or propgclass to scroll the speed buttons if more buttons exist that are visible within its bounds. However, this as a slight unresolvable bug.