MiniGUI API Reference (MiniGUI-Standalone)  v3.2.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
coolbar.h
Go to the documentation of this file.
1 
43 /*
44  * $Id: coolbar.h 10690 2008-08-18 09:32:47Z weiym $
45  *
46  * MiniGUI for Linux/uClinux, eCos, uC/OS-II, VxWorks,
47  * pSOS, ThreadX, NuCleus, OSE, and Win32.
48  */
49 
50 #ifndef EXT_COOLBAR_H
51 #define EXT_COOLBAR_H
52 
53 
54 #ifdef __cplusplus
55 extern "C" {
56 #endif
57 
72 #define CTRL_COOLBAR ("CoolBar")
73 
74 #define TYPE_BARITEM 1
75 #define TYPE_BMPITEM 2
76 #define TYPE_TEXTITEM 3
77 
79 typedef struct _COOLBARITEMINFO
80 {
82  int insPos;
83 
89  int id;
90 
100  int ItemType;
101 
106 
110  const char *ItemHint;
111 
115  const char *Caption;
116 
120 
126 
136 #define CBS_BMP_16X16 0x0000
137 
142 #define CBS_BMP_32X32 0x0001
143 
159 #define CBS_BMP_CUSTOM 0x0002
160 
174 #define CBS_USEBKBMP 0x0004
175 
200 #define CBM_ADDITEM 0xFE00
201 
220 #define CBM_ENABLE 0xFE01
221 
227 #ifdef __cplusplus
228 }
229 #endif
230 
231 #endif /* EXT_COOLBAR_H */
232 
const char * ItemHint
Definition: coolbar.h:110
DWORD dwAddData
Definition: coolbar.h:118
struct _COOLBARITEMINFO COOLBARITEMINFO
COOLBARITEMINFO * PCOOLBARITEMINFO
Data type of the pointer to a COOLBARITEMINFO.
Definition: coolbar.h:125
PBITMAP Bmp
Definition: coolbar.h:105
DWORD_PTR DWORD
A unsigned long type definition for pointer precision.
Definition: common.h:555
Definition: gdi.h:7382
const char * Caption
Definition: coolbar.h:115