|
-
March 10th, 2008, 12:57 PM
#1
Hardest question: how to get the image of the icon-view on the Destop?
I want to get the image of the icons which are shown on the Destop.
Notice: NOT the image of Desktop. 'Cause i dont want the wallpaper to be drawn on the image.
As we know, the win api PrintWindow can print a winow into a dc.
But it fails when printing the Progman window or the SysListView32 window.
Communication of thoughts makes one strong.
-
March 11th, 2008, 08:21 AM
#2
Re: Hardest question: how to get the image of the icon-view on the Destop?
What do you mean by Progman window or the SysListView32 window?
One's mistake cannot be your excuse!
-
March 11th, 2008, 05:29 PM
#3
Re: Hardest question: how to get the image of the icon-view on the Destop?
 Originally Posted by ArmStronger
I want to get the image of the icons which are shown on the Destop.
Notice: NOT the image of Desktop. 'Cause i dont want the wallpaper to be drawn on the image.
As we know, the win api PrintWindow can print a winow into a dc.
But it fails when printing the Progman window or the SysListView32 window.
One thing you can try (theoretically it should work) is using hooking, look at ::SetWindowsHookEx() api, you have to inject your dll in the address space of the explorer.exe and then while you there you can find the window want ("SysListView32") and using standard listview messages try to dig info about the items.
Just keep in mind that if you want to get them to your process you should use some IPC mechanism.
Cheers
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|