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.

DarkBASIC Professional Discussion / Getting Desktop Screenshot

Author
Message
Dark Java Dude 64
Community Leader
15
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 27th Dec 2010 17:35 Edited at: 30th Mar 2011 01:27
Hello all! I was making a screen saver, and i want it to draw over an image. That's not the problem, i was wondering how to get a screen shot of the desktop. I try to hide the window, and get an image, then show the window and paste the image, but it still returns the equivalent of the window maximized Thanks for helping!

+ =
BillR
23
Years of Service
User Offline
Joined: 19th Mar 2003
Location: United States
Posted: 27th Dec 2010 17:44
Always best to post some code we can compile and test for you
Madscientist
16
Years of Service
User Offline
Joined: 23rd Aug 2009
Location: Between a rock and a hard place
Posted: 27th Dec 2010 19:44 Edited at: 27th Dec 2010 19:44
You can do it but you need a DLL or a plugin but not with the native commands.

My computer surpasses all the technologies of the day. What computer do I have?

Dark Java Dude 64
Community Leader
15
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 28th Dec 2010 00:53
I see, well, what dll's are there that i could do that with?

revenant chaos
DBPro Master
19
Years of Service
User Offline
Joined: 21st Mar 2007
Location: Robbinsdale, MN
Posted: 28th Dec 2010 09:49
The DarkSide Display plugin can do that, which can be downloaded here:
http://forum.thegamecreators.com/?m=forum_view&t=150335&b=18
=PRoF=
23
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 28th Dec 2010 12:49
Windows can do it when you press the Print Screen button.

I'm not sure what the function call is, but I'm sure DBP can load the windows dll resposible and call the function.

Perhaps you should have a look on MSDN? Try and find out what dll/what function call to use?

Dark Java Dude 64
Community Leader
15
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 28th Dec 2010 16:15 Edited at: 3rd Apr 2011 07:49
Yes, thanks to both

DBD79

Login to post a reply

Server time is: 2026-07-21 20:35:32
Your offset time is: 2026-07-21 20:35:32