well, it's only normal. you are copying the desktop but the sidebar is not drawn on the desktop. it's actually a window. so in order to catch everything, you will need to catch all windows bitmap in order to make out o full screenshot. but this means that you wil be catching all windows. (here is a sample code to capture one: http://delphi.about.com/od
basically, you will have to use enumwindows to find all active windows which are not minimized (and maybe whic hare on teh current desktop) and maybe even check if they are partly visible or not (in order to not capture windows that are not visible at all) and then you will have a complete capture of the screen.
but again, it will be capturing of the screen, not the desktop, sicne you already done that.
if you don't want to capture the whole screen, only desktop plus sidebar, you can check if you are on vista (http://www.delphi3000.com
Main Topics
Browse All Topics





by: alkisgPosted on 2008-02-24 at 13:11:05ID: 20971376
Just an idea:
nagit/feat ureslist.a sp)
v-archive/ 206/296-10 63- 2065220 .shtm
SnagIt doesn't capture the desktop, it captures the entire screen, that's why it includes the sidebar.
(at least from what I read at http://www.techsmith.com/s
To do the same thing from your program, you would minimize all windows except the sidebar and then capture the entire screen. I don't think users would like auto-minimizing windows! :)
So, you should
a) capture the desktop
b) capture the sidebar
c) overlay the two images at the correct position.
For (b) and (c) a starting point:
http://www.codeprof.com/de