Export (0) Print
Expand All

NMTOOLBAR structure

Contains information used to process toolbar notification codes. 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

Type: NMHDR

NMHDR structure that contains additional information about the notification.

iItem

Type: int

Command identifier of the button associated with the notification code.

tbButton

Type: TBBUTTON

TBBUTTON structure that contains information about the toolbar button associated with the notification code. This member only contains valid information with the TBN_QUERYINSERT and TBN_QUERYDELETE notification codes.

cchText

Type: int

Count of characters in the button text.

pszText

Type: LPTSTR

Address of a character buffer that contains the button text.

rcButton

Type: RECT

Version 5.80. A RECT structure that defines the area covered by the button.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

Unicode and ANSI names

NMTOOLBARW (Unicode) and NMTOOLBARA (ANSI)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft