Click here to Skip to main content
12,897,124 members (49,540 online)
Click here to Skip to main content
Articles » Multimedia » GDI » Regions » Downloads


125 bookmarked
Posted 10 Mar 2002

Guide to WIN32 Regions

, 10 Mar 2002 CPOL
Guide to understanding how to create and use regions with the WIN32 SDK
// Microsoft Developer Studio generated include file.
// Used by RgnGuide.rc
#define IDD_ABOUTBOX                    100
#define IDC_SRC1                        104
#define IDR_MAINFRAME                   128
#define IDC_SRC2                        201
#define ID_SHAPE_RECTANGLE              32772
#define ID_SHAPE_ELLIPSE                32773
#define ID_SHAPE_ROUNDRECT              32774
#define ID_SHAPE_POLYGON                32775
#define ID_FILE_CLEAR                   32776
#define ID_FILE_CLEAR_1                 32777
#define ID_FILE_CLEAR_2                 32778
#define ID_VIEW_1                       32779
#define ID_VIEW_2                       32780
#define ID_VIEW_ALL                     32781
#define ID_VIEW_BREAKDOWN_1				32782
#define ID_VIEW_BREAKDOWN_2				32783
#define IDS_RGN_BASE                    61402
#define IDS_RGN_AND                     61403
#define IDS_RGN_OR                      61404
#define IDS_RGN_XOR                     61405
#define IDS_RGN_DIFF                    61406

// Next default values for new objects
#define _APS_NEXT_RESOURCE_VALUE        202
#define _APS_NEXT_COMMAND_VALUE         32784
#define _APS_NEXT_CONTROL_VALUE         1000
#define _APS_NEXT_SYMED_VALUE           101

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Paul M Watt
United States United States
I am a software architect and I have been developing software for nearly two decades. Over the years I have learned to value maintainable solutions first. This has allowed me to adapt my projects to meet the challenges that inevitably appear during development. I use the most beneficial short-term achievements to drive the software I develop towards a long-term vision.

C++ is my strongest language. However, I have also used x86 ASM, ARM ASM, C, C#, JAVA, Python, and JavaScript to solve programming problems. I have worked in a variety of industries throughout my career, which include:
• Manufacturing
• Consumer Products
• Virtualization
• Computer Infrastructure Management
• DoD Contracting

My experience spans these hardware types and operating systems:
• Desktop
o Windows (Full-stack: GUI, Application, Service, Kernel Driver)
o Linux (Application, Daemon)
• Mobile Devices
o Windows CE / Windows Phone
o Linux
• Embedded Devices
o VxWorks (RTOS)
o Greenhills Linux
o Embedded Windows XP

I am a Mentor and frequent contributor to with tutorial articles that teach others about the inner workings of the Windows APIs.

I am the creator of an open source project on GitHub called Alchemy[^], which is an open-source compile-time data serialization library.

I maintain my own repository and blog at[^], because code maintenance does not have to be a living hell.

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170424.1 | Last Updated 11 Mar 2002
Article Copyright 2002 by Paul M Watt
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid