Search Tools Links Login

Screen Manager


Many people have built projects to capture desktop screen. Many functions have been called, BitBlt, GetDesktopWindow, GetDC, even keybd_event, to execute this process.
There is one thing you should know about screen capturing in Windows. Windows itself provides function to capture the screen! Actually, you do not need to build a project for it. Just press PrintScreen, and the captured screen will be stored in clipboard. Run mspaint (or any other graphic applications), and then paste. The screen is now stored as bitmap. Pressing Alt+PrintScreen will capture activewindow. I found this by myself.
What you should do is just managing the clipboard, so when user press printscreen, it automatically saves the clipboard to a file.
This simple project will manage your clipboard and automatically saves the bitmap as file. Run this app, minimize it, and then you can capture the screen freely.

Original Author: Albert Tedja

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 81 times

Categories

Visual Basic 6

Attachments

CODE_UPLOAD59665212000.zip
Posted: 9/3/2020 3:45:00 PM
Size: 2,952 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.