SCROLLER
The SCROLLER widget is a newer version of the SCROLLBAR with a more modern UI. SCROLLERs are used to indicate the scrolling position in a window with scrollable content. This especially makes sense if motion scrolling is enabled. Also, they can optionally be used to scroll through the window the SCROLLER is attached to by moving the SCROLLER with touch input.
SCROLLER | |
---|---|
Receives focus | No |
Skinnable | No |
OwnerDraw | Yes |
Uses Memory Devices | No |
Attached widgets | None |
Notification codes
The following events are sent from a SCROLLER widget to its parent window as part of a WM_NOTIFY_PARENT message:
Message | Description |
---|---|
WM_NOTIFICATION_CLICKED | SCROLLER has been clicked. |
WM_NOTIFICATION_RELEASED | SCROLLER has been released. |
WM_NOTIFICATION_SCROLLER_ADDED | SCROLLER has just been added (attached) to an existing window. The window is notified so that it can initialize the SCROLLER. |
WM_NOTIFICATION_VALUE_CHANGED | Value of SCROLLER has been changed. |
Keyboard reaction
The widget can not gain the input focus and does not react on keyboard input.
Samples
Below are links to samples that demonstrate how to use SCROLLER widgets in emWin.