50 #ifndef _MGUI_CTRL_NEWTOOLBAR_H 51 #define _MGUI_CTRL_NEWTOOLBAR_H 84 #define CTRL_NEWTOOLBAR ("newtoolbar") 136 #define NTB_TEXT_LEN 15 138 #define NTB_TIP_LEN 255 140 #define NTBIF_PUSHBUTTON 0x0001 141 #define NTBIF_HOTSPOTBUTTON 0x0002 142 #define NTBIF_SEPARATOR 0x0003 143 #define NTBIF_CHECKBUTTON 0x0005 144 #define NTBIF_NEWLINE 0x0008 145 #define NTBIF_TYPEMASK 0x000F 151 #define NTBIF_DISABLED 0x0010 156 #define NTBIF_CHECKED 0x0020 158 #define MTB_WHICH_FLAGS 0x0001 159 #define MTB_WHICH_ID 0x0002 160 #define MTB_WHICH_TEXT 0x0004 161 #define MTB_WHICH_TIP 0x0008 162 #define MTB_WHICH_CELL 0x0010 163 #define MTB_WHICH_HOTSPOT 0x0020 164 #define MTB_WHICH_ADDDATA 0x0040 239 #define NTBS_WITHTEXT 0x000000001L 245 #define NTBS_TEXTRIGHT 0x000000002L 252 #define NTBS_DRAWSTATES 0x000000004L 258 #define NTBS_DRAWSEPARATOR 0x000000008L 264 #define NTBS_HORIZONTAL 0x00000000L 270 #define NTBS_VERTICAL 0x00000010L 278 #define NTBS_MULTLINE 0x00000020L 291 #define NTB_ERR_SPACE (-2) 293 #define NTB_ERR_DUPID (-3) 313 #define NTBM_ADDITEM 0xFE00 333 #define NTBM_GETITEM 0xFE01 353 #define NTBM_SETITEM 0xFE02 373 #define NTBM_ENABLEITEM 0xFE03 391 #define NTBM_SETBITMAP 0xFE04 394 #define NTBM_MSGMAX 0xFE10
GHANDLE HWND
Handle to main window or control.
DWORD_PTR DWORD
A unsigned long type definition for pointer precision.