Partager via


NMLVGETINFOTIP

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This structure contains and receives list-view item information that is needed to display a ToolTip for an item. This structure is used with the LVN_GETINFOTIP notification message.

Syntax

typedef struct tagNMLVGETINFOTIP {
  NMHDR hdr;
  DWORD dwFlags;
  LPTSTR pszText;
  int cchTextMax;
  int iItem;
  int iSubItem;
  LPARAM lParam;
} NMLVGETINFOTIP, *LPNMLVGETINFOTIP;

Members

  • hdr
    NMHDR structure that contains information on this notification message.
  • dwFlags
    Either zero or LVGIT_UNFOLDED which indicates that the label of the listview item is not truncated or unfolded.
  • pszText
    Address of a string buffer that receives any additional text information. If dwFlags is zero, this member will contain the existing item text. In this case, you should append any additional text onto the end of this string. The size of this buffer is specified by the cchTextMax value.
  • cchTextMax
    Size, in characters, of the buffer pointed to by pszText. Although you should never assume that this buffer will be of any particular size, the INFOTIPSIZE value can be used for design purposes.
  • iItem
    Zero-based index of the item to which this structure refers.
  • iSubItem
    One-based index of the subitem to which this structure refers. If this member is zero, the structure is referring to the item and not a subitem. This member is not currently used and will always be zero.
  • lParam
    Application-defined value associated with the item. This member is not currently used and will always be zero.

Requirements

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

See Also

Reference

List-View Controls Structures