Contents Index Topic Contents | ||
Previous Topic: LVM_GETITEMSTATE Next Topic: LVM_GETNEXTITEM |
LVM_GETITEMTEXT
LVM_GETITEMTEXT wParam = (WPARAM) (int) iItem; lParam = (LPARAM) (LPLVITEM) pitem;Retrieves the text of a list view item or subitem. You can send this message explicitly or by using the ListView_GetItemText macro.
- If you send this message explicitly, it returns the length of the retrieved string.
If you can send this message implicitly by using the ListView_GetItemText macro, there is no return value.
- iItem
- Index of the list view item.
- pitem
- Address of an LVITEM structure. The iSubItem member specifies the index of a subitem, or it can be zero to get the item label. The pszText member points to a buffer that receives the text, and the cchTextMax member specifies the size of the buffer.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.