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
- 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
-
Address of a character buffer that contains the button text.
- rcButton
- Version 5.80. A >RECT structure that defines the area covered by the button.
Structure Information
| Minimum DLL Version | comctl32.dll version 4.70 or later |
|---|
| Header | commctrl.h |
|---|
| Minimum operating systems |
Windows 2000, Windows NT 4.0 with Internet Explorer 3.0, Windows 98, Windows 95 with Internet Explorer 3.0 |
|---|