coolbar.h

Go to the documentation of this file.
00001 
00019 /*
00020  * $Id: coolbar.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_COOLBAR_H
00030 #define EXT_COOLBAR_H
00031 
00032 
00033 #ifdef  __cplusplus
00034 extern "C" {
00035 #endif
00036 
00051 #define CTRL_COOLBAR            ("CoolBar")
00052 
00053 #define TYPE_BARITEM            1
00054 #define TYPE_BMPITEM            2
00055 #define TYPE_TEXTITEM           3
00056 
00058 typedef struct _COOLBARITEMINFO
00059 {
00061     int insPos;
00062 
00068     int id;
00069 
00079     int ItemType;
00080 
00084     PBITMAP Bmp;
00085 
00089     const char *ItemHint;
00090 
00094     const char *Caption;
00095 
00097     DWORD dwAddData;
00098 } COOLBARITEMINFO;
00099 
00104 typedef COOLBARITEMINFO *PCOOLBARITEMINFO;
00105 
00115 #define CBS_BMP_16X16           0x0000
00116 
00121 #define CBS_BMP_32X32           0x0001
00122 
00138 #define CBS_BMP_CUSTOM          0x0002
00139 
00153 #define CBS_USEBKBMP            0x0004
00154 
00179 #define CBM_ADDITEM             0xFE00
00180 
00199 #define CBM_ENABLE              0xFE01
00200 
00206 #ifdef  __cplusplus
00207 }
00208 #endif
00209 
00210 #endif /* EXT_COOLBAR_H */
00211 
Generated on Thu Apr 7 15:55:29 2011 for MiniGUI V3.0.12 API Reference by  doxygen 1.6.3