MiniGUI API Reference (MiniGUI-Threads)  v3.2.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Data Fields
_COOLBARITEMINFO Struct Reference

#include <coolbar.h>

Data Fields

int insPos
 
int id
 
int ItemType
 
PBITMAP Bmp
 
const char * ItemHint
 
const char * Caption
 
DWORD dwAddData
 

Detailed Description

Structure of the coolbar item info

Definition at line 79 of file coolbar.h.

Field Documentation

PBITMAP Bmp

Pointer to the bitmap of the item, valid when the type is TYPE_BMPITEM.

Definition at line 105 of file coolbar.h.

const char* Caption

Caption of the item, valid when the type is TPYE_TEXTITEM.

Definition at line 115 of file coolbar.h.

DWORD dwAddData

Additional data of the item

Definition at line 118 of file coolbar.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 89 of file coolbar.h.

int insPos

Reserved, do not use.

Definition at line 82 of file coolbar.h.

const char* ItemHint

Hint text of the item, will be displayed in the tooltip window.

Definition at line 110 of file coolbar.h.

int ItemType

Type of the item, can be one of the following values:

  • TYPE_BARITEM The item is a separator (a vertical line).
  • TYPE_BMPITEM The item is a bitmap.
  • TYPE_TEXTITEM The item is text.

Definition at line 100 of file coolbar.h.


The documentation for this struct was generated from the following file: