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
Introduction to C++/CLI Programming
Become proficient at C++/CLI programming under the .NET context by posting a first CLR console base project.

Extension Methods Refresher
Use code extensions to expand the core principles of code re-use.

How to Draw Shapes with Visual Basic and GDI: Crescent Moons, Hearts, Spirals, and More
Learn how to create various odd shapes.

Maker Project: Creating a Garage Door Opener
Have you ever wanted to control your garage door from your smartphone? Here is your chance. Get your hands dirty with an Arduino Garage Door Controller.






