MiniGUI API Reference (MiniGUI-Threads)  v3.2.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
trackbar.h
Go to the documentation of this file.
1 
43 /*
44  * $Id: trackbar.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_TRACKBAR
51 #define _MGUI_CTRL_TRACKBAR
52 
53 
54 #ifdef __cplusplus
55 extern "C" {
56 #endif /* __cplusplus */
57 
72 #define CTRL_TRACKBAR ("trackbar")
73 
78 #define TBLEN_TIP 31
79 
90 #define TBS_NOTIFY 0x0001L
91 
96 #define TBS_VERTICAL 0x0002L
97 
102 #define TBS_BORDER 0x0004L
103 
108 #define TBS_TIP 0x0008L
109 
114 #define TBS_NOTICK 0x0010L
115 
116 /* internally used style */
117 #define TBS_FOCUS 0x1000L
118 
145 #define TBM_SETRANGE 0xF090
146 
160 #define TBM_GETMIN 0xF091
161 
178 #define TBM_SETPOS 0xF092
179 
193 #define TBM_GETPOS 0xF093
194 
216 #define TBM_SETLINESIZE 0xF094
217 
236 #define TBM_GETLINESIZE 0xF095
237 
260 #define TBM_SETPAGESIZE 0xF096
261 
281 #define TBM_GETPAGESIZE 0xF097
282 
301 #define TBM_SETTIP 0xF098
302 
323 #define TBM_GETTIP 0xF09A
324 
341 #define TBM_SETTICKFREQ 0xF09B
342 
356 #define TBM_GETTICKFREQ 0xF09C
357 
374 #define TBM_SETMIN 0xF09D
375 
392 #define TBM_SETMAX 0xF09E
393 
407 #define TBM_GETMAX 0xF09F
408 
409 #define TBR_MSGMAX 0xF010
410 
422 #define TBN_REACHMIN 1
423 
428 #define TBN_REACHMAX 2
429 
434 #define TBN_CHANGE 3
435 
440 #define TBN_STARTDRAG 4
441 
446 #define TBN_STOPDRAG 5
447 
458 #define LFRDR_TBS_PRESSED 0x0100L
459 
464 #define LFRDR_TBS_HILITE 0x0200L
465 
472 #ifdef __cplusplus
473 }
474 #endif /* __cplusplus */
475 
476 #endif /* _MGUI_CTRL_TRACKBAR */
477