This structure contains information used to process toolbar notification messages. It is identical to the TBNOTIFY structure.

typedef struct tagNMTOOLBAR {
NMHDR hdr;
int iItem;
TBBUTTON tbButton;
int cchText;
LPTSTR pszText;} 


  • hdr
    NMHDR structure that contains additional information about the notification message.
  • iItem
    Command identifier of the button associated with the notification.
  • tbButton
    TBBUTTON structure that contains information about the toolbar button associated with the notification. This member only contains valid information with the TBN_QUERYINSERT and TBN_QUERYDELETE notifications.
  • cchText
    Count of characters in the button text.
  • pszText
    Pointer to a character buffer that contains the button text.


Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later Commctrl.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.