MiniGUI API Reference (MiniGUI-Processes)  v5.0.6
A mature and proven cross-platform GUI system for embedded and smart IoT devices
trackbar.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: trackbar.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_TRACKBAR
63 #define _MGUI_CTRL_TRACKBAR
64 
65 
66 #ifdef __cplusplus
67 extern "C" {
68 #endif /* __cplusplus */
69 
84 #define CTRL_TRACKBAR ("trackbar")
85 
90 #define TBLEN_TIP 31
91 
102 #define TBS_NOTIFY 0x0001L
103 
108 #define TBS_VERTICAL 0x0002L
109 
114 #define TBS_BORDER 0x0004L
115 
120 #define TBS_TIP 0x0008L
121 
126 #define TBS_NOTICK 0x0010L
127 
128 /* internally used style */
129 #define TBS_FOCUS 0x1000L
130 
157 #define TBM_SETRANGE 0xF090
158 
172 #define TBM_GETMIN 0xF091
173 
190 #define TBM_SETPOS 0xF092
191 
205 #define TBM_GETPOS 0xF093
206 
228 #define TBM_SETLINESIZE 0xF094
229 
248 #define TBM_GETLINESIZE 0xF095
249 
272 #define TBM_SETPAGESIZE 0xF096
273 
293 #define TBM_GETPAGESIZE 0xF097
294 
313 #define TBM_SETTIP 0xF098
314 
335 #define TBM_GETTIP 0xF09A
336 
353 #define TBM_SETTICKFREQ 0xF09B
354 
368 #define TBM_GETTICKFREQ 0xF09C
369 
386 #define TBM_SETMIN 0xF09D
387 
404 #define TBM_SETMAX 0xF09E
405 
419 #define TBM_GETMAX 0xF09F
420 
421 #define TBR_MSGMAX 0xF010
422 
434 #define TBN_REACHMIN 1
435 
440 #define TBN_REACHMAX 2
441 
446 #define TBN_CHANGE 3
447 
452 #define TBN_STARTDRAG 4
453 
458 #define TBN_STOPDRAG 5
459 
470 #define LFRDR_TBS_PRESSED 0x0100L
471 
476 #define LFRDR_TBS_HILITE 0x0200L
477 
484 #ifdef __cplusplus
485 }
486 #endif /* __cplusplus */
487 
488 #endif /* _MGUI_CTRL_TRACKBAR */
489