Create a screen-capture tool in C#. In this course you will follow the development of a complete project from the ground up. You will end up with a utility that grabs images from screen and saves them to disk in multiple image formats.
In this course you will develop programs that do all the following:
Create a screen-capture tool in C#. In this course you will follow the development of a complete project from the ground up. You will end up with a utility that grabs images from screen and saves them to disk in multiple image formats.
In this course you will develop programs that do all the following:
This is a project-based course that comes with all the source code ready-to-run. It provides a great way for C# programmers to move beyond the basics to explore the development of more complex C# applications.
Before you begin, be sure you know what software and experience you need to follow this course
From screen capture to the Windows API. This is what you’ll learn.
This ReadMe file provides guidance on more sources of information which you may find of use when following this course.
Source code download
First steps to creating a screen-capture tool.
How to wait before initiating a screen-grab
How to save a screen-grab to disk.
How to import functions from DLLs
How can you save an image of just one window?
But what if the computer has more than one monitor?
Calculating screen-offsets
A better way to display images
Let the user select file names
Save and Load dialogs and how to configure them
Save images in various standard formats
Basics of saving screen images
Now we have the basic functionality, what next?
How can we save an image of a specific rectangle?
How to see through a form
We need to move the transparent form. This is how.
Some things work better on some versions of Windows than on others!
You need to save the mouse pointer and add it to your screen-grab
Using the API again
Starting a capture from some other application
How do you assign hotkeys?
The secret to handling Windows events.
How to make a window topmost.
A few user interface improvements
Programming hotkeys
Ideas for more features you might want to add to this screen-capture tool
OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.
Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.
Find this site helpful? Tell a friend about us.
We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.
Your purchases help us maintain our catalog and keep our servers humming without ads.
Thank you for supporting OpenCourser.