PDA

View Full Version : Capturing window content


leojose
06-24-2005, 12:39 PM
Hi all,

This is what I have:
A program that will take the handle of a window that is in the foreground and then take a printout (in postscript format) of whatever is visible in that window.

This is what I would like to do:
1) To get the handle of the window when it is in a minimized state.
2) Take a printout of the contents of the window while it is still in the minimized state.

Can anyone help me achieve goal 1 and 2.

Regards

Dr. Evil
06-24-2005, 05:42 PM
It sounds like you're trying to do what WinCap does: http://www.catch22.net/source/

leojose
06-29-2005, 04:40 PM
You are right Dr. Evil, that is exactly the concept I was looking for...but I'm afraid I may not be able to use it as it only seems to support Win-XP. A more generalized code that supports all platforms of Windows is something that will help me.
Thanks for the link though...it will probably get some thought processes going :rolleyes: