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.
ListView_GetItemPosition, POINT
Questions:
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.