_NTBITEMINFO Struct Reference
[NewToolBar control]

#include <newtoolbar.h>

Data Fields

Detailed Description

Structure of the new toolbar item info

Definition at line 146 of file newtoolbar.h.

Field Documentation

Additional data of the item

Definition at line 200 of file newtoolbar.h.

int bmp_cell

Index of bitmap cell.

Definition at line 191 of file newtoolbar.h.

Flags of the item. It can be OR'd with the following values:

    The item is a normal push button.
    The item is a normal check button.
    The item is a newline tag.
    The item is a menu button with hotspot.
    The item is a separator.
    The item is disabled.

Definition at line 172 of file newtoolbar.h.

Hotpot-clicked callback procedure for menubutton.

Definition at line 194 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 179 of file newtoolbar.h.

Rectangle region of hotspot in the cell.

Definition at line 197 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 185 of file newtoolbar.h.

char* tip

Tooltip of the item, not used, reserved.

Definition at line 188 of file newtoolbar.h.

Which fields are valid when sets/retrives the item information (ignored when add item). It can be OR'd with the following values:

    The flags is valid.
    The identifier is valid.
    The text is valid.
    The tip text is valid.
    The bitmap cell index is valid.
    The hotspot rect is valid.
    The additional data is valid.

Definition at line 160 of file newtoolbar.h.

The documentation for this struct was generated from the following file:
Generated on Thu Apr 7 15:58:43 2011 for MiniGUI V3.0.12 API Reference by  doxygen 1.6.3