Learn how to save a Windows region to a file with GetRegionData and how to load and re-create it with ExtCreateRegion the Win32 API way.
Latest Using regions Articles
Managed C++: Rubber-Banding and Cropping Images
Learn how .NET enables you to easily allow your users to create a cropping area of an image with the mouse and then create a new image consisting of only that cropped area.
Creating a 24-Bit Per Pixel Subregion of a 24-Bit Per Pixel Bitmap
Creating a 24-Bit Per Pixel Subregion of a 24-Bit Per Pixel Bitmap
A tool to convert bitmaps to region files
A tool to convert bitmaps to region files
Converting a bitmap to a region - memory leak fix
Converting a bitmap to a region - memory leak fix
Converting a bitmap to a region
Converting a bitmap to a region
Latest Developer Videos
More...Latest CodeGuru Developer Columns
C++ Tips and Tricks
Quirky and yet persistent, C++ is a language that keeps programmers coming back to it. Pick up some new ways to wrangle it into your workflow.

XML-XSD Parsing Refresher
Learn to use XSD, something that's built into Visual Studio, and makes handling XML data child's play.

Making Use of SQL Variables
Learn about SQL Variables and how to use them from Visual Basic.
The Top Challenge for Developers is...
Most developers face a grueling challenge to please their end users. We asked their top challenge is. With over 3,000 responses, the results are now available!