old-school screen blitting with c++?

if I wanted to do some awesome old-school screen-blitting like the olden-day viruses that crawled around your screen, how could I pull that off in C++? Any tips or clues appreciated. Thanks

Btw, the OS is Windows

edit: the shear number of down-votes to this question (-3 atm) can only mean that people don't understand my intentions. I'm neither wanting to do anything malicious nor pointless. What would you do if I asked how to interact with the sound chip on a Commodore 64? There are hundreds of people who do it every day, not because it's practical, but because it's fun.

Answers


one way would be to use layered windows. not entirely trivial, but you can create a layered window and then supply your own content updates for that window using alpha blending so you could have objects transparently appear on top of your screen that way. you might also be able to directly draw to the screen device context, but it would probably get cleared next update so I'm thinking a layered window would be the best way to do it and give the impression of what you're talking about.


Need Your Help

how to add the accuracy circle to a MKAnnotation

ios mkmapview

I have a custom annotation to represent a moving bus, and id love to have that "pulse" has. I believe its also referred to as the accuracy circle. Is there a way to use that with an image overlay o...

About FrameWork

c# c#-4.0 frameworks

I created a project in Visual Studio with the .NET Framework 4.0. When I install it on another computer which doesn't have the .NET Framework 4.0 my program is not working. I have to install the ...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.