MiniGUI API Reference (MiniGUI-Processes)  v5.0.6
A mature and proven cross-platform GUI system for embedded and smart IoT devices
coolbar.h
Go to the documentation of this file.
1 //
3 // IMPORTANT NOTICE
4 //
5 // The following open source license statement does not apply to any
6 // entity in the Exception List published by FMSoft.
7 //
8 // For more information, please visit:
9 //
10 // https://www.fmsoft.cn/exception-list
11 //
13 
55 /*
56  * $Id: coolbar.h 10690 2008-08-18 09:32:47Z weiym $
57  *
58  * MiniGUI for Linux/uClinux, eCos, uC/OS-II, VxWorks,
59  * pSOS, ThreadX, NuCleus, OSE, and Win32.
60  */
61 
62 #ifndef EXT_COOLBAR_H
63 #define EXT_COOLBAR_H
64 
65 
66 #ifdef __cplusplus
67 extern "C" {
68 #endif
69 
84 #define CTRL_COOLBAR ("CoolBar")
85 
86 #define TYPE_BARITEM 1
87 #define TYPE_BMPITEM 2
88 #define TYPE_TEXTITEM 3
89 
91 typedef struct _COOLBARITEMINFO
92 {
94  int insPos;
95 
101  int id;
102 
112  int ItemType;
113 
118 
122  const char *ItemHint;
123 
127  const char *Caption;
128 
132 
138 
148 #define CBS_BMP_16X16 0x0000
149 
154 #define CBS_BMP_32X32 0x0001
155 
171 #define CBS_BMP_CUSTOM 0x0002
172 
186 #define CBS_USEBKBMP 0x0004
187 
212 #define CBM_ADDITEM 0xFE00
213 
232 #define CBM_ENABLE 0xFE01
233 
239 #ifdef __cplusplus
240 }
241 #endif
242 
243 #endif /* EXT_COOLBAR_H */
244 
DWORD
DWORD_PTR DWORD
A unsigned long type definition for pointer precision.
Definition: common.h:604
_COOLBARITEMINFO::Bmp
PBITMAP Bmp
Definition: coolbar.h:117
_COOLBARITEMINFO::id
int id
Definition: coolbar.h:101
_COOLBARITEMINFO::dwAddData
DWORD dwAddData
Definition: coolbar.h:130
_COOLBARITEMINFO::ItemHint
const char * ItemHint
Definition: coolbar.h:122
_COOLBARITEMINFO
Definition: coolbar.h:91
_COOLBARITEMINFO::insPos
int insPos
Definition: coolbar.h:94
COOLBARITEMINFO
struct _COOLBARITEMINFO COOLBARITEMINFO
_COOLBARITEMINFO::Caption
const char * Caption
Definition: coolbar.h:127
_COOLBARITEMINFO::ItemType
int ItemType
Definition: coolbar.h:112
_BITMAP
Definition: gdi.h:11088
PCOOLBARITEMINFO
COOLBARITEMINFO * PCOOLBARITEMINFO
Data type of the pointer to a COOLBARITEMINFO.
Definition: coolbar.h:137