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
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
A tool to convert bitmaps to region files
Converting a bitmap to a region - memory leak fix
Converting a bitmap to a region
Latest Developer VideosMore...
Latest CodeGuru Developer Columns
Become more proficient on the usage of statements to control the flow of execution through a C++/CLI application.
Discover (Rediscover?) an image-manipulating tool that's been around for ages, but is especially suited to working within the .NET framework.
The concepts of boxing and unboxing data might be second nature for many, but for newbies it's worth covering. And, the "old hands" may learn something new, as well.
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!