MiniGUI API Reference (MiniGUI-Threads)  v3.2.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Macros
Messages of coolbar control

Macros

#define CBM_ADDITEM   0xFE00
 Adds a new item in a coolbar control. More...
 
#define CBM_ENABLE   0xFE01
 Sets an item to be enabled or disabled. More...
 

Detailed Description

Macro Definition Documentation

#define CBM_ADDITEM   0xFE00

Adds a new item in a coolbar control.

1 CBM_ADDITEM
2 COOLBARITEMINFO *newIteminfo;
3 
4 wParam = 0;
5 lParam = (LPARAM)newIteminfo;
Parameters
newIteminfoPointer to the item info structure of the new item to be added.
Returns
Zero when success, otherwise less than 0;

Definition at line 200 of file coolbar.h.

#define CBM_ENABLE   0xFE01

Sets an item to be enabled or disabled.

1 CBM_ENABLE
2 int id;
3 BOOL enabled;
4 
5 wParam = (WPARAM)id;
6 lParam = (LPARAM)enabled;
Parameters
idThe identifier of the item to change.
enabledTRUE to enable the item, FALSE to disable the item.
Returns
Zero when success, otherwise less than 0.

Definition at line 220 of file coolbar.h.