Share via


NMTOOLBAR (Compact 2013)

3/28/2014

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

See Also

Reference

Toolbar Controls Structures