spinbox.h

Go to the documentation of this file.
00001 
00019 /*
00020  * $Id: spinbox.h 10690 2008-08-18 09:32:47Z weiym $
00021  *
00022  *             MiniGUI for Linux/uClinux, eCos, uC/OS-II, VxWorks, 
00023  *                     pSOS, ThreadX, NuCleus, OSE, and Win32.
00024  *
00025  *             Copyright (C) 2002-2008 Feynman Software.
00026  *             Copyright (C) 1998-2002 Wei Yongming.
00027  */
00028 
00029 #ifndef EXT_SPINBOX_H
00030 #define EXT_SPINBOX_H
00031 
00032 #ifdef  __cplusplus
00033 extern "C" {
00034 #endif
00035 
00050 #define CTRL_SPINBOX                ("SpinBox")
00051 
00053 typedef struct _SPININFO
00054 {
00056     int max;
00058     int min;
00060     int cur;
00061 } SPININFO;
00066 typedef SPININFO *PSPININFO;
00067 
00079 void GetSpinBoxSize (DWORD dwStyle, int* w, int* h);
00080 
00091 #define SPS_AUTOSCROLL          0x00000001L
00092 
00097 #define SPS_HORIZONTAL          0x00000010L
00098 
00103 #define SPS_TYPE_NORMAL         0x00000000L
00104 
00109 #define SPS_TYPE_UPARROW        0x00000100L
00110 
00115 #define SPS_TYPE_DOWNARROW      0x00000200L
00116 
00121 #define SPS_TYPE_MASK           0x00000F00L
00122 
00133 #define KS_SPINPOST             0x00010000
00134 
00156 #define SPM_SETTARGET           0xF300
00157 
00171 #define SPM_GETTARGET           0xF301
00172 
00191 #define SPM_SETINFO             0xF302
00192 
00211 #define SPM_GETINFO             0xF303
00212 
00226 #define SPM_DISABLEUP           0xF304
00227 
00241 #define SPM_DISABLEDOWN         0xF305
00242 
00256 #define SPM_ENABLEUP            0xF306
00257 
00271 #define SPM_ENABLEDOWN          0xF307
00272 
00289 #define SPM_SETCUR              0xF308
00290 
00304 #define SPM_GETCUR              0xF309
00305 
00317 #define SPN_REACHMIN            1
00318 
00323 #define SPN_REACHMAX            2
00324 
00331 #ifdef  __cplusplus
00332 }
00333 #endif
00334 
00335 #endif /* EXT_SPINBOX_H */
00336 
Generated on Thu Apr 7 16:01:41 2011 for MiniGUI V3.0.12 API Reference by  doxygen 1.6.3