Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

spinbox.h

Go to the documentation of this file.
00001 
00021 /*
00022  * $Id: spinbox.h,v 1.8 2006/06/11 04:20:45 weiym Exp $
00023  *
00024  *             MiniGUI for Linux/uClinux, eCos, uC/OS-II, VxWorks, 
00025  *                     pSOS, ThreadX, NuCleus, OSE, and Win32.
00026  *
00027  *             Copyright (C) 2002-2006 Feynman Software.
00028  *             Copyright (C) 1998-2002 Wei Yongming.
00029  */
00030 
00031 #ifndef EXT_SPINBOX_H
00032 #define EXT_SPINBOX_H
00033 
00034 #ifdef  __cplusplus
00035 extern "C" {
00036 #endif
00037 
00057 #define CTRL_SPINBOX                ("SpinBox")
00058 
00060 typedef struct _SPININFO
00061 {
00063     int max;
00065     int min;
00067     int cur;
00068 } SPININFO;
00073 typedef SPININFO *PSPININFO;
00074 
00086 void GetSpinBoxSize (DWORD dwStyle, int* w, int* h);
00087 
00098 #define SPS_AUTOSCROLL          0x00000001L
00099 
00104 #define SPS_HORIZONTAL          0x00000010L
00105 
00110 #define SPS_TYPE_NORMAL         0x00000000L
00111 
00116 #define SPS_TYPE_UPARROW        0x00000100L
00117 
00122 #define SPS_TYPE_DOWNARROW      0x00000200L
00123 
00128 #define SPS_TYPE_MASK           0x00000F00L
00129 
00140 #define KS_SPINPOST             0x00010000
00141 
00163 #define SPM_SETTARGET           0xF300
00164 
00178 #define SPM_GETTARGET           0xF301
00179 
00198 #define SPM_SETINFO             0xF302
00199 
00218 #define SPM_GETINFO             0xF303
00219 
00233 #define SPM_DISABLEUP           0xF304
00234 
00248 #define SPM_DISABLEDOWN         0xF305
00249 
00263 #define SPM_ENABLEUP            0xF306
00264 
00278 #define SPM_ENABLEDOWN          0xF307
00279 
00296 #define SPM_SETCUR              0xF308
00297 
00311 #define SPM_GETCUR              0xF309
00312 
00324 #define SPN_REACHMIN            1
00325 
00330 #define SPN_REACHMAX            2
00331 
00340 #ifdef  __cplusplus
00341 }
00342 #endif
00343 
00344 #endif /* EXT_SPINBOX_H */
00345 

Generated on Mon Jun 26 14:21:34 2006 for MiniGUI V2.0.3 API Reference by  doxygen 1.4.2