Export (0) Print
Expand All

NMTBGETINFOTIP structure

Contains and receives infotip information for a toolbar item. This structure is used with the TBN_GETINFOTIP notification code.

Syntax


typedef struct tagNMTBGETINFOTIP {
  NMHDR  hdr;
  LPTSTR pszText;
  int    cchTextMax;
  int    iItem;
  LPARAM lParam;
} NMTBGETINFOTIP, *LPNMTBGETINFOTIP;

Members

hdr

Type: NMHDR

NMHDR structure that contains additional information about the notification.

pszText

Type: LPTSTR

Address of a character buffer that receives the infotip text.

cchTextMax

Type: int

Size of the buffer, in characters, at pszText. In most cases, the buffer will be INFOTIPSIZE characters in size, but you should always make sure that your application does not copy more than cchTextMax characters to the buffer at pszText.

iItem

Type: int

The command identifier of the item for which infotip information is being requested. This member is filled in by the control before sending the notification code.

lParam

Type: LPARAM

The application-defined value associated with the item for which infotip information is being requested. This member is filled in by the control before sending the notification code.

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

NMTBGETINFOTIPW (Unicode) and NMTBGETINFOTIPA (ANSI)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft