flat assembler
Message board for the users of flat assembler.

Index > Windows > How to get the snap shot of the desktop.

Author
Thread Post new topic Reply to topic
0.1



Joined: 24 Jul 2007
Posts: 474
Location: India
0.1
How to get the snap shot of the desktop?
As in many screen savers ... how do they get the snap shot of
desktop and play various graphics effects using that image?

I mean I am looking for any API function(s) to do it on Windows (if it's
not clear enough from the location of this thread).

_________________
Code:
 o__=-
 )
(\
 /\  
    


Last edited by 0.1 on 06 Nov 2007, 12:36; edited 1 time in total
Post 06 Nov 2007, 11:39
View user's profile Send private message Reply with quote
MHajduk



Joined: 30 Mar 2006
Posts: 6038
Location: Poland
MHajduk
Look on this thread http://board.flatassembler.net/topic.php?t=7291, Yardman made a toy in which may be something what you want. Smile
Post 06 Nov 2007, 11:53
View user's profile Send private message Visit poster's website Reply with quote
0.1



Joined: 24 Jul 2007
Posts: 474
Location: India
0.1
Got it!
Here is the sample code that does it!

PS: Please change the extension from .asm to .cpp!


Description: Desktop snap shot demo.
Download
Filename: hell.asm
Filesize: 3.69 KB
Downloaded: 46 Time(s)


_________________
Code:
 o__=-
 )
(\
 /\  
    
Post 12 Nov 2007, 06:49
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.