Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
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_GETINFOTIPnotification message.
Syntax
typedef struct tagNMLVGETINFOTIP { NMHDR hdr; DWORD dwFlags; LPTSTR pszText; int cchTextMax; int iItem; int iSubItem; LPARAM lParam; } NMLVGETINFOTIP, *LPNMLVGETINFOTIP; |
Members
- hdr
-
NMHDRstructure 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 dwFlagsis 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 cchTextMaxvalue.
- 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 |