Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

NewToolBar control
[Standard controls]

Modules

Data Structures

Defines

Typedefs


Detailed Description

Note:
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:
NTBINFO

Define Documentation

#define CTRL_NEWTOOLBAR   ("newtoolbar")
 

The class name of newtoolbar control.

Definition at line 60 of file newtoolbar.h.

#define NTBIF_CHECKED   0x0020
 

The item is checked.

Definition at line 132 of file newtoolbar.h.

#define NTBIF_DISABLED   0x0010
 

The item is disabled.

Definition at line 127 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.

Parameters:
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 109 of file newtoolbar.h.

typedef struct _NTBINFO NTBINFO
 

Structure of the newtoolbar control information

typedef struct _NTBITEMINFO NTBITEMINFO
 

Structure of the new toolbar item info

PNTBITEMINFO
 

Data type of pointer to a NTBITEMINFO;.

Definition at line 204 of file newtoolbar.h.


Generated on Mon Jun 26 13:54:28 2006 for MiniGUI V1.6.9 API Reference by  doxygen 1.4.2