Is it possible to get image contents of an obstructed window without bringing it to the front? Also, is it possible to send mouse clicks to a specific locations of such window using Windows API? Would the realization be different on Windows XP and Windows 7? What functions I would need and where can I read more about that. Thanks.
+1
A:
Windows GDI can assist you on the screenshot task. There's some VB code here to get you started.
There's a lot of material on how to simulate mouse clicks:
karlphillip
2010-08-11 20:07:24
Thanks. Would you happen to know whether the code would work on Windows XP if written on Windows 7?
Martynas
2010-08-16 17:03:14
Yes, I believe it will work.
karlphillip
2010-08-16 19:49:02