The LVM_GETITEMPOSITION message retrieves the position of a list view item. You can send this message explicitly or by using the ListView_GetItemPosition macro.
LVM_GETITEMPOSITION wParam = (WPARAM) (int) i; lParam = (LPARAM) (POINT FAR *) ppt;
Returns TRUE if successful or FALSE otherwise.
i want the postion and text of listview items (desktop as listview syslistview32) that is i want position and text of desktop items. i am succeeded in getting the how many items are present on desktop by lvm_getitemcount.i am trying this by sendmessage lvm_gettextitem but as execute this statement my windowsexplorer gets some problem and it get closed. and empty string is retrived to me as of text.+
please help me.
|file: /Techref/os/win/api/win32/mess/src/msg12_6.htm, 1KB, , updated: 2004/5/4 12:54, local time: 2022/8/17 20:39,
|©2022 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://www.sxlist.com/techref/os/win/api/win32/mess/src/msg12_6.htm"> LVM_GETITEMPOSITION</A>
|Did you find what you needed?|
Welcome to sxlist.com!
& kind contributors
just like you!
Please don't rip/copy
Copies of the site on CD
are available at minimal cost.
Welcome to www.sxlist.com!