Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Screenshot capture program. Problems.

Author
Message
Duplex
User Banned
Posted: 1st Jun 2007 20:38
Is this Possible with DBP? I mean, I hate Having to keep pressing print screen and pasting into an image tool.

The Code I got so far doesnt work:



Also, Is it possible to be able to take a screen shot If the program is minimized.

Please help me.


The Duplex.

See The Duplex Creations Website at:
http://www.duplexcreations.mdhost.info
el zilcho
17
Years of Service
User Offline
Joined: 4th Dec 2006
Location:
Posted: 1st Jun 2007 22:24
get image will only get the image inside your window.
the pixels 0, 0, 1024, 768 only refer to the pixels inside your window, not the pixels being displayed on the whole screen.

and nope, sorry, your code will only process the buttons being pressed on the keyboard when you have the compiler window selected.
Daemon
18
Years of Service
User Offline
Joined: 16th Dec 2005
Location: Everywhere
Posted: 2nd Jun 2007 01:44
Yes, it will only take a shot of what's in the window. This, however, is your code corrected.


indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 2nd Jun 2007 05:41
remember to trap the rapid fire of the key or it will take many shots over and over.

Login to post a reply

Server time is: 2024-09-26 22:59:08
Your offset time is: 2024-09-26 22:59:08