Contains information used to process toolbar notification messages. This structure supersedes the TBNOTIFY structure.
Syntax
typedef struct tagNMTOOLBAR { NMHDR hdr; int iItem; TBBUTTON tbButton; int cchText; LPTSTR pszText; RECT rcButton; } NMTOOLBAR, *LPNMTOOLBAR;
Members
hdrNMHDR structure that contains additional information about the notification message. iItem Command identifier of the button associated with the notification. tbButtonTBBUTTON 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 Address of a character buffer that contains the button text. rcButtonVersion 5.80. A RECT structure that defines the area covered by the button.
Structure Information
Minimum DLL Versioncomctl32.dll version 4.70 or laterHeadercommctrl.hMinimum operating systems Windows 2000, Windows NT 4.0 with Internet Explorer 3.0, Windows 98, Windows 95 with Internet Explorer 3.0