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

Messages of NewToolBar control
[NewToolBar control]

Defines


Define Documentation

#define NTB_ERR   (-1)
 

Newtoolbar return value

Definition at line 265 of file newtoolbar.h.

#define NTB_ERR_DUPID   (-3)
 

Newtoolbar return value

Definition at line 269 of file newtoolbar.h.

#define NTB_ERR_SPACE   (-2)
 

Newtoolbar return value

Definition at line 267 of file newtoolbar.h.

#define NTB_OKAY   0
 

Newtoolbar return value

Definition at line 263 of file newtoolbar.h.

#define NTBM_ADDITEM   0xFE00
 

Adds an item to a newtoolbar.

 TBM_ADDITEM
 NTBITEMINFO *ntbii;

 wParam = 0;
 lParam = (LPARAM)ntbii;

Parameters:
ntbii Pointer to the data storing the newtoobar item info.
Returns:
NTB_OKAY on success, else one of the following values:
  • NTB_ERR_SPACE
    No enongh space to allocate memory for new item.
  • NTB_ERR_DUPID
    Duplicated identifier with an existed item.

Definition at line 289 of file newtoolbar.h.

#define NTBM_ENABLEITEM   0xFE03
 

Enables/Disables an item in a newtoolbar control.

 NTBM_ENABLEITEM
 int id;
 BOOL enable;

 wParam = id;
 lParam = enable;

Parameters:
id The identifier of the item.
enable True to enable item; false to disable item.
Returns:
NTB_OKAY on success, else NTB_ERR.

Definition at line 349 of file newtoolbar.h.

#define NTBM_GETITEM   0xFE01
 

Retrives the information of an item in a newtoolbar control.

 TBM_GETITEM
 int id;
 NTBITEMINFO *ntbii;

 wParam = id;
 lParam = (LPARAM)ntbii;

Parameters:
id The identifier of the item.
ntbii Pointer to the data storing the newtoobar item info.
Returns:
NTB_OKAY on success, else NTB_ERR.

Definition at line 309 of file newtoolbar.h.

#define NTBM_SETBITMAP   0xFE04
 

Sets the bitmap of a newtoolbar control.

 NTBM_SETBITMAP
 NTBINFO ntbi;

 wParam = 0;
 lParam = (LPARAM)&ntbi;

Parameters:
ntbi The structure for storing the newtoobar info.
Returns:
NTB_OKAY on success, else NTB_ERR.

Definition at line 367 of file newtoolbar.h.

#define NTBM_SETITEM   0xFE02
 

Sets the information of an item in a newtoolbar control.

 TBM_SETITEM
 int id;
 NTBITEMINFO ntbii;

 wParam = id;
 lParam = (LPARAM)&ntbii;

Parameters:
id The identifier of the item.
ntbii The structure for storing the newtoobar item info.
Returns:
NTB_OKAY on success, else NTB_ERR.

Definition at line 329 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