NTBINFO ntb_info; CreateWindowEx (CTRL_TOOLBAR, ..., (DWORD) &ntb_info);
#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 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 _NTBITEMINFO NTBITEMINFO |
Structure of the new toolbar item info
Data type of pointer to a NTBITEMINFO;.
Definition at line 207 of file newtoolbar.h.