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

coolbar.h

Go to the documentation of this file.
00001 
00021 /*
00022  * $Id: coolbar.h,v 1.7 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_COOLBAR_H
00032 #define EXT_COOLBAR_H
00033 
00034 #ifdef  __cplusplus
00035 extern "C" {
00036 #endif
00037 
00057 #define CTRL_COOLBAR            ("CoolBar")
00058 
00059 #define TYPE_BARITEM            1
00060 #define TYPE_BMPITEM            2
00061 #define TYPE_TEXTITEM           3
00062 
00064 typedef struct _COOLBARITEMINFO
00065 {
00067     int insPos;
00068 
00074     int id;
00075 
00085     int ItemType;
00086 
00090     PBITMAP Bmp;
00091 
00095     const char *ItemHint;
00096 
00100     const char *Caption;
00101 
00103     DWORD dwAddData;
00104 } COOLBARITEMINFO;
00105 
00110 typedef COOLBARITEMINFO *PCOOLBARITEMINFO;
00111 
00121 #define CBS_BMP_16X16           0x0000
00122 
00127 #define CBS_BMP_32X32           0x0001
00128 
00144 #define CBS_BMP_CUSTOM          0x0002
00145 
00159 #define CBS_USEBKBMP            0x0004
00160 
00185 #define CBM_ADDITEM             0xFE00
00186 
00205 #define CBM_ENABLE              0xFE01
00206 
00215 #ifdef  __cplusplus
00216 }
00217 #endif
00218 
00219 #endif /* EXT_COOLBAR_H */
00220 

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