Click here to Skip to main content
15,895,142 members
Articles / Desktop Programming / MFC

Include/Exclude List Boxes

Rate me:
Please Sign up or sign in to vote.
4.50/5 (5 votes)
25 Feb 2000CPOL 123K   2.2K   47  
How to package lots of standard functionality into a CListBox derived class.
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by TemplateMFC.rc
//
#define IDC_SHOW_OBJECTS                2
#define IDM_ABOUTBOX                    0x0010
#define IDD_ABOUTBOX                    100
#define IDS_ABOUTBOX                    101
#define IDD_TEMPLATEMFC_DIALOG          102
#define IDR_MAINFRAME                   128
#define IDD_CATEGORY_TEST               129
#define IDD_ASSOCIATE_DIALOG            130
#define IDD_NEW_CATEGORY_DIALOG         131
#define IDD_DISASSOCIATE_DIALOG         132
#define IDC_CAT_LIST                    1000
#define IDC_REGISTRY_LIST               1001
#define IDC_IMPLEMENT_LIST              1002
#define IDC_REQUIRE_LIST                1003
#define IDC_ADD                         1005
#define IDC_OBJECTS_LIST                1005
#define IDC_REMOVE                      1006
#define IDC_ADD_CATEGORY                1008
#define IDC_REMOVE_CATEGORY             1009
#define IDC_EDIT1                       1009
#define IDC_ASSOCIATE                   1010
#define IDC_DISASSOCIATE                1011

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        132
#define _APS_NEXT_COMMAND_VALUE         32771
#define _APS_NEXT_CONTROL_VALUE         1011
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

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.

License

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


Written By
Software Developer (Senior) JetByte Limited
United Kingdom United Kingdom
Len has been programming for over 30 years, having first started with a Sinclair ZX-80. Now he runs his own consulting company, JetByte Limited and has a technical blog here.

JetByte provides contract programming and consultancy services. We can provide experience in COM, Corba, C++, Windows NT and UNIX. Our speciality is the design and implementation of systems but we are happy to work with you throughout the entire project life-cycle. We are happy to quote for fixed price work, or, if required, can work for an hourly rate.

We are based in London, England, but, thanks to the Internet, we can work 'virtually' anywhere...

Please note that many of the articles here may have updated code available on Len's blog and that the IOCP socket server framework is also available in a licensed, much improved and fully supported version, see here for details.

Comments and Discussions