tnerb
asked on
Retrieving desktop icon positions...
Greets all,
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
appreciated.
- Tnerb
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
appreciated.
- Tnerb
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
give it a shot.