Is there a way to get the location data of a file, for example if i place a file on my desktop in the top right hand corner, is there a vb6 way to delete that file and then recreate it in that exact location ie...top right hand corner ?
The desktop is a ListView, so you can use the API to interrogate the ListView. For example you can send the LVM_GETITEMPOSITION message via SendMessage to find out where a specific icon is located, and then use LVM_SETITEMPOSITION to place it in a different location
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.