MiniGUI API Reference (MiniGUI-Threads)  v3.2.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
scrollbar.h
Go to the documentation of this file.
1 
43 /*
44  * $Id: scrollbar.h 10690 2008-08-18 09:32:47Z weiym $
45  *
46  * MiniGUI for Linux/uClinux, eCos, uC/OS-II, VxWorks,
47  * pSOS, ThreadX, NuCleus, OSE, and Win32.
48  */
49 
50 #ifndef _MGUI_CTRL_SCROLLBAR_H
51 #define _MGUI_CTRL_SCROLLBAR_H
52 
53 #ifdef __cplusplus
54 extern "C" {
55 #endif /* __cplusplus */
56 
73 #define CTRL_SCROLLBAR ("scrollbar")
74 
84 #define SBS_HORZ 0x1000
85 
90 #define SBS_VERT 0x2000
91 
99 #define SBS_BOTTOMALIGN 0x0001
100 
108 #define SBS_TOPALIGN 0x0002
109 
117 #define SBS_LEFTALIGN 0x0001
118 
126 #define SBS_RIGHTALIGN 0x0002
127 
134 #define SBS_NOARROW 0x0004
135 
142 #define SBS_NOSHAFT 0x0008
143 
149 #define SBS_FIXEDBARLEN 0x0010
150 
156 #define SBS_NOTNOTIFYPARENT 0x0020
157 
170 #define SBM_GETSCROLLINFO 0xF0E0
171 
176 #define SBM_SETSCROLLINFO 0xF0E1
177 
194 #define SBM_GETPOS 0xF0E2
195 
218 #define SBM_SETPOS 0xF0E3
219 
236 #define SBM_GETRANGE 0xF0E4
237 
260 #define SBM_SETRANGE 0xF0E5
261 
284 #define SBM_SETRANGEREDRAW 0xF0E6
285 
314 #define SBM_ENABLE_ARROW 0xF0E7
315 
322 #ifdef __cplusplus
323 }
324 #endif /* __cplusplus */
325 
326 #endif /* _MGUI_CTRL_SCROLLBAR_H */
327