The scroller gadget is a propgclass wrapper class and is used to create proportional scroller or linear slider gadgets. To create a linear slider, SCROLLER_Visible must be set to 1, and SCROLLER_Top will range in value from 0 to SCROLLER_Total - 1.
The IntuiMessage.Code field will contain the SCROLLER_Top attribute, cast to a WORD.
Advantages that this class provides are:
-
Supports window relativity.
-
Supports OS 3.0 BOOPSI Notification/Update.
-
Special signaling ability.
-
Optional scroller arrow buttons.
-
Supports usage in window boarders.