Click here to Skip to main content
15,884,388 members
Articles / Desktop Programming / MFC

Child Dialog (Sub Forms)

Rate me:
Please Sign up or sign in to vote.
4.27/5 (8 votes)
17 Nov 1999 143K   3.7K   48  
A simple class for handling Child Dialogs within a dialog or property sheet.
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by ChildDlgTest.rc
//
#define IDD_ABOUTBOX                    100
#define IDR_MAINFRAME                   128
#define IDR_CHILDDTYPE                  129
#define IDD_TEST                        130
#define IDD_SUBFORM1                    131
#define IDD_SUBFORM2                    132
#define IDD_SUBFORM3                    133
#define IDD_SUBFORM4                    134
#define IDC_FIELD1                      1000
#define IDC_FIELD2                      1001
#define IDC_SUBFORM_FRAME               1001
#define IDC_FIELD3                      1002
#define IDC_COMBO1                      1002
#define IDC_FIELD4                      1003
#define IDC_FIELD5                      1004
#define IDC_CHECK1                      1004
#define IDC_FIELD6                      1005
#define IDC_RADIO1                      1005
#define IDC_RADIO2                      1006
#define IDC_SPIN1                       1008
#define ID_TEST                         32771

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_3D_CONTROLS                     1
#define _APS_NEXT_RESOURCE_VALUE        134
#define _APS_NEXT_COMMAND_VALUE         32772
#define _APS_NEXT_CONTROL_VALUE         1009
#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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Chief Technology Officer
Switzerland Switzerland
Professional IT developer since 1983. First projects with Cobol, then Pascal, Modula2, C and since Visual C++ 1.0 also with C++ and today C#. Works since 1986 as Consultant, between 1990 and 2008 for Infobrain in Switzerland, from 2008 until 2013 for enValue (also Switzerland) and currently working for Comfone (Bern, Switzerland).

Married, two grown-up daughters, Hobbies : Paragliding, Orienteering, Mountainbiking, Photography

Comments and Discussions