00001 00020 /* 00021 * $Id: coolbar.h,v 1.3.12.2 2006/06/05 08:59:40 xwyan Exp $ 00022 * 00023 * MiniGUI for Linux/uClinux, eCos, uC/OS-II, VxWorks, 00024 * pSOS, ThreadX, NuCleus, OSE, and Win32 version 1.6.x 00025 * Copyright (C) 2002-2006 Feynman Software. 00026 * Copyright (C) 1998-2002 Wei Yongming. 00027 */ 00028 00029 #ifndef EXT_COOLBAR_H 00030 #define EXT_COOLBAR_H 00031 00032 #ifdef __cplusplus 00033 extern "C" { 00034 #endif 00035 00055 #define CTRL_COOLBAR ("CoolBar") 00056 00057 #define TYPE_BARITEM 1 00058 #define TYPE_BMPITEM 2 00059 #define TYPE_TEXTITEM 3 00060 00062 typedef struct _COOLBARITEMINFO 00063 { 00065 int insPos; 00066 00072 int id; 00073 00083 int ItemType; 00084 00088 PBITMAP Bmp; 00089 00093 const char *ItemHint; 00094 00098 const char *Caption; 00099 00101 DWORD dwAddData; 00102 } COOLBARITEMINFO; 00103 00108 typedef COOLBARITEMINFO *PCOOLBARITEMINFO; 00109 00119 #define CBS_BMP_16X16 0x0000 00120 00125 #define CBS_BMP_32X32 0x0001 00126 00142 #define CBS_BMP_CUSTOM 0x0002 00143 00157 #define CBS_USEBKBMP 0x0004 00158 00183 #define CBM_ADDITEM 0xFE00 00184 00203 #define CBM_ENABLE 0xFE01 00204 00213 #ifdef __cplusplus 00214 } 00215 #endif 00216 00217 #endif /* EXT_COOLBAR_H */ 00218
1.4.2