Share via


NMTOOLBAR

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

Syntax

typedef struct tagNMTOOLBAR {
  NMHDR hdr;
  int iItem;
  TBBUTTON tbButton;
  int cchText;
  LPTSTR pszText;
} NMTOOLBAR, FAR* LPNMTOOLBAR;

Members

  • hdr
    NMHDR structure that contains additional information about the 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.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

Toolbar Controls Structures