Prev Next
The ListView_SetItemText macro changes the text of a list view item or
subitem. You can use this macro or explicitly send the LVM_SETITEMTEXT
message.
VOID WINAPI ListView_SetItemText(
HWND hwnd,
|
|
int i,
|
|
int iSubItem,
|
|
LPCSTR pszText
|
|
);
|
|
Parameters
-
hwnd
-
Handle to the list view control.
-
i
-
Index of the list view item.
-
iSubItem
-
Index of the subitem. To set the item label, set iSubItem to zero.
-
pszText
-
Pointer to a null-terminated string that contains the new text.
This parameter can be LPSTR_TEXTCALLBACK to indicate a callback item for which
the parent window stores the text. In this case, the list view control sends
the parent an LVN_GETDISPINFO notification message when it needs the text.
This parameter can be NULL.
Return Values
No return value.
See Also
LVM_SETITEMTEXT, LVN_GETDISPINFO
file: /Techref/os/win/api/win32/mac/src/mac02_14.htm, 2KB, , updated: 2000/4/7 11:19, local time: 2024/12/6 12:38,
|
| ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.org/techref/os/win/api/win32/mac/src/mac02_14.htm"> ListView_SetItemText</A> |
Did you find what you needed?
|
.
|