MiniGUI API Reference (MiniGUI-Processes)  v3.2.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Macros
Styles of scrollbar control

Macros

#define SBS_HORZ   0x1000
 Create a horizontal scrollbar. More...
 
#define SBS_VERT   0x2000
 Create a vertical scrollbar. More...
 
#define SBS_BOTTOMALIGN   0x0001
 Create a horizontal scrollbar on the bottom of the rect. More...
 
#define SBS_TOPALIGN   0x0002
 Create a horizontal scrollbar on the top of the rect. More...
 
#define SBS_LEFTALIGN   0x0001
 Create a vertical scrollbar on the left of the rect. More...
 
#define SBS_RIGHTALIGN   0x0002
 Create a vertical scrollbar on the right of the rect. More...
 
#define SBS_NOARROW   0x0004
 Create a vertical scrollbar with no arrow. More...
 
#define SBS_NOSHAFT   0x0008
 Create a vertical scrollbar with no shaft. More...
 
#define SBS_FIXEDBARLEN   0x0010
 Create a scrollbar with fixed thumb. More...
 
#define SBS_NOTNOTIFYPARENT   0x0020
 send notification code with SendNotifyMessage instead of NotifyParent More...
 

Detailed Description

Macro Definition Documentation

#define SBS_BOTTOMALIGN   0x0001

Create a horizontal scrollbar on the bottom of the rect.

Note
This style must be used together with SBS_HORZ, and the height of the scrollbar will depend on the window elements or renderer.

Definition at line 99 of file scrollbar.h.

#define SBS_FIXEDBARLEN   0x0010

Create a scrollbar with fixed thumb.

Definition at line 149 of file scrollbar.h.

#define SBS_HORZ   0x1000

Create a horizontal scrollbar.

Definition at line 84 of file scrollbar.h.

#define SBS_LEFTALIGN   0x0001

Create a vertical scrollbar on the left of the rect.

Note
This style must be used together with SBS_VERT, and the width of the scrollbar will depend on the window elements or renderer.

Definition at line 117 of file scrollbar.h.

#define SBS_NOARROW   0x0004

Create a vertical scrollbar with no arrow.

Note
This style must't be used together with SBS_NOSHAFT.

Definition at line 134 of file scrollbar.h.

#define SBS_NOSHAFT   0x0008

Create a vertical scrollbar with no shaft.

Note
This style must't be used together with SBS_NOARROWS.

Definition at line 142 of file scrollbar.h.

#define SBS_NOTNOTIFYPARENT   0x0020

send notification code with SendNotifyMessage instead of NotifyParent

Definition at line 156 of file scrollbar.h.

#define SBS_RIGHTALIGN   0x0002

Create a vertical scrollbar on the right of the rect.

Note
This style must be used together with SBS_VERT, and the width of the scrollbar will depend on the window elements or renderer.

Definition at line 126 of file scrollbar.h.

#define SBS_TOPALIGN   0x0002

Create a horizontal scrollbar on the top of the rect.

Note
This style must be used together with SBS_HORZ, and the height of the scrollbar will depend on the window elements or renderer.

Definition at line 108 of file scrollbar.h.

#define SBS_VERT   0x2000

Create a vertical scrollbar.

Definition at line 90 of file scrollbar.h.