Retrieving desktop icon positions...
Posted on 1998-03-10
I'm trying to retrieve the positions of all the icons on the desktop in 95 using VC++.
Any idea how to go about it?
I've already tried grabbing the SysListView32 window and using the ListView_GetItemPosition
macro to attempt this, but it crashes Explorer every time I try. The amusing/annoying thing is, I
CAN do a ListView_GetSelectedCount call using the same hwnd and get a valid answer. Most
of the other ListView_* macros crash explorer as well, with some notable exceptions. Is this
information in the registry somewhere? Any hints or other possible directions to try would be