MiniGUI API Reference (MiniGUI-Standalone)  v5.0.6
A mature and proven cross-platform GUI system for embedded and smart IoT devices
scrollbar.h
Go to the documentation of this file.
1 //
3 // IMPORTANT NOTICE
4 //
5 // The following open source license statement does not apply to any
6 // entity in the Exception List published by FMSoft.
7 //
8 // For more information, please visit:
9 //
10 // https://www.fmsoft.cn/exception-list
11 //
13 
55 /*
56  * $Id: scrollbar.h 10690 2008-08-18 09:32:47Z weiym $
57  *
58  * MiniGUI for Linux/uClinux, eCos, uC/OS-II, VxWorks,
59  * pSOS, ThreadX, NuCleus, OSE, and Win32.
60  */
61 
62 #ifndef _MGUI_CTRL_SCROLLBAR_H
63 #define _MGUI_CTRL_SCROLLBAR_H
64 
65 #ifdef __cplusplus
66 extern "C" {
67 #endif /* __cplusplus */
68 
85 #define CTRL_SCROLLBAR ("scrollbar")
86 
96 #define SBS_HORZ 0x1000
97 
102 #define SBS_VERT 0x2000
103 
111 #define SBS_BOTTOMALIGN 0x0001
112 
120 #define SBS_TOPALIGN 0x0002
121 
129 #define SBS_LEFTALIGN 0x0001
130 
138 #define SBS_RIGHTALIGN 0x0002
139 
146 #define SBS_NOARROW 0x0004
147 
154 #define SBS_NOSHAFT 0x0008
155 
161 #define SBS_FIXEDBARLEN 0x0010
162 
168 #define SBS_NOTNOTIFYPARENT 0x0020
169 
182 #define SBM_GETSCROLLINFO 0xF0E0
183 
188 #define SBM_SETSCROLLINFO 0xF0E1
189 
206 #define SBM_GETPOS 0xF0E2
207 
230 #define SBM_SETPOS 0xF0E3
231 
248 #define SBM_GETRANGE 0xF0E4
249 
272 #define SBM_SETRANGE 0xF0E5
273 
296 #define SBM_SETRANGEREDRAW 0xF0E6
297 
326 #define SBM_ENABLE_ARROW 0xF0E7
327 
334 #ifdef __cplusplus
335 }
336 #endif /* __cplusplus */
337 
338 #endif /* _MGUI_CTRL_SCROLLBAR_H */
339