Click here to Skip to main content
12,554,442 members (89,041 online)
Click here to Skip to main content


65 bookmarked

EnumBinder - Bind C++ enums to strings, combo-boxes, arbitrary data structures

, 15 Aug 2005 CPOL
An easy way to bind C++ enums to strings, combo-boxes, list-boxes, arbitrary data structures.
// Microsoft Visual C++ generated include file.
// Used by EnumBinder.rc
#define IDM_ABOUTBOX                    0x0010
#define IDD_ABOUTBOX                    100
#define IDS_ABOUTBOX                    101
#define IDD_ENUMBINDER_DIALOG           102
#define IDR_MAINFRAME                   128
#define IDI_WEEKDAY                     129
#define IDI_WEEKEND                     130
#define IDC_COMBO_SHAPES                1000
#define IDC_BUTTON_CHECK_VALUES         1001
#define IDC_LIST_CANADA                 1002
#define IDC_EDIT_ABBREVIATION           1003
#define IDC_BUTTON1                     1005
#define IDC_BUTTON_UNIT_TEST            1005
#define IDC_COMBO_FRUIT                 1007
#define IDC_COMBO_WEEKDAYS              1008
#define IDC_IMAGE                       1009

// Next default values for new objects
#define _APS_NEXT_RESOURCE_VALUE        131
#define _APS_NEXT_COMMAND_VALUE         32771
#define _APS_NEXT_CONTROL_VALUE         1010
#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

Warren Stevens
Software Developer (Senior)
Canada Canada[^]
Huge list of stock icon collections (both free and commercial)

The picture is from September 2006, after picking up a rental car at the airport in Denver, Colorado. I'm smiling in the picture, because I have yet to come to the realization that I just wasted 400 bucks ( because you don't really need a car in downtown Denver - you can just walk everywhere).

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.161021.1 | Last Updated 15 Aug 2005
Article Copyright 2005 by Warren Stevens
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid