NewToolBar control
[Standard controls]

Data Structures




Detailed Description

You should pass information of the control through the argument dwAddData of CreateWindowEx function.
 NTBINFO ntb_info;

 CreateWindowEx (CTRL_TOOLBAR, ..., (DWORD) &ntb_info);
See also:

Define Documentation

#define CTRL_NEWTOOLBAR   ("newtoolbar")

The class name of newtoolbar control.

Definition at line 63 of file newtoolbar.h.

#define NTBIF_CHECKED   0x0020

The item is checked.

Definition at line 135 of file newtoolbar.h.

#define NTBIF_DISABLED   0x0010

The item is disabled.

Definition at line 130 of file newtoolbar.h.

Typedef Documentation

typedef void(* HOTSPOTPROC)(HWND hwnd, int id, const RECT *cell, int x, int y)

Type of the hotspot-clicked callback procedure.

hwnd The handle to the control.
id The identifier of the button in the NewToolBar control.
cell The rectangle of the button in screen coordinates.
x The x-coordinate of the mouse down point.
y THe y-coordinate of the mouse down point.

Definition at line 112 of file newtoolbar.h.

typedef struct _NTBINFO NTBINFO

Structure of the newtoolbar control information


Structure of the new toolbar item info

Data type of pointer to a NTBITEMINFO;.

Definition at line 207 of file newtoolbar.h.

Generated on Thu Apr 7 15:58:36 2011 for MiniGUI V3.0.12 API Reference by  doxygen 1.6.3