| 
    MiniGUI API Reference (MiniGUI-Threads)
    v3.2.0
    
   A mature and proven cross-platform GUI system for embedded and smart IoT devices 
   | 
 
#include <newtoolbar.h>
Data Fields | |
| DWORD | which | 
| DWORD | flags | 
| int | id | 
| char * | text | 
| char * | tip | 
| int | bmp_cell | 
| HOTSPOTPROC | hotspot_proc | 
| RECT | rc_hotspot | 
| DWORD | add_data | 
Structure of the new toolbar item info
Definition at line 167 of file newtoolbar.h.
| DWORD add_data | 
Additional data of the item
Definition at line 221 of file newtoolbar.h.
| int bmp_cell | 
Index of bitmap cell.
Definition at line 212 of file newtoolbar.h.
| DWORD flags | 
Flags of the item. It can be OR'd with the following values:
Definition at line 193 of file newtoolbar.h.
| HOTSPOTPROC hotspot_proc | 
Hotpot-clicked callback procedure for menubutton.
Definition at line 215 of file newtoolbar.h.
| int id | 
Identifier of the item. When the user clicked the item, this control will send a notification message to the parent window with the notification code to be equal to this identifier.
Definition at line 200 of file newtoolbar.h.
| RECT rc_hotspot | 
Rectangle region of hotspot in the cell.
Definition at line 218 of file newtoolbar.h.
| char* text | 
Text of the item. This text will be displayed under the bitmap if the control have NTBS_WITHTEXT style.
Definition at line 206 of file newtoolbar.h.
| char* tip | 
Tooltip of the item, not used, reserved.
Definition at line 209 of file newtoolbar.h.
| DWORD which | 
Which fields are valid when sets/retrives the item information (ignored when add item). It can be OR'd with the following values:
Definition at line 181 of file newtoolbar.h.
 1.8.11