Click to Rate and Give Feedback
MSDN
MSDN Library
User Interface
Windows Controls
Control Library
Toolbar
Structures
 NMTOOLBAR Structure

  Switch on low bandwidth view
NMTOOLBAR Structure

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 Versioncomctl32.dll version 4.70 or later
Headercommctrl.h
Minimum operating systems Windows 2000, Windows NT 4.0 with Internet Explorer 3.0, Windows 98, Windows 95 with Internet Explorer 3.0
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker