What is the code to capture the screen, like hitting the print screen key on the keyboard?
Batch file code would also be appreciated.
I am using Dev C++ compiler if that is important.
Thanks for the help
What is the code to capture the screen, like hitting the print screen key on the keyboard?
Batch file code would also be appreciated.
I am using Dev C++ compiler if that is important.
Thanks for the help
Unfortanetly, it's not as easy as a single call.
Here is a reference on how to do it http://www.codeproject.com/dialog/screencap.asp
As it says, the GDI way is very easy, given performance isn't of the essence
You really have to sneak up on them.Code:while( screen.notnoticing( me ) ) { me.sneakupon( screen ); if( me.range( screen ) == close ) me.capture( screen ); }
Quzah.
Hope is the first step on the road to disappointment.