从学案例入手
源代码在线查看: ex2.clw
; CLW file contains information for the MFC ClassWizard
[General Info]
Version=1
LastClass=CEx2Dlg
LastTemplate=CDialog
NewFileInclude1=#include "stdafx.h"
NewFileInclude2=#include "Ex2.h"
ClassCount=3
Class1=CEx2App
Class2=CEx2Dlg
Class3=CAboutDlg
ResourceCount=3
Resource1=IDD_ABOUTBOX
Resource2=IDR_MAINFRAME
Resource3=IDD_EX2_DIALOG
[CLS:CEx2App]
Type=0
HeaderFile=Ex2.h
ImplementationFile=Ex2.cpp
Filter=N
[CLS:CEx2Dlg]
Type=0
HeaderFile=Ex2Dlg.h
ImplementationFile=Ex2Dlg.cpp
Filter=D
LastObject=IDC_PUSHME
BaseClass=CDialog
VirtualFilter=dWC
[CLS:CAboutDlg]
Type=0
HeaderFile=Ex2Dlg.h
ImplementationFile=Ex2Dlg.cpp
Filter=D
[DLG:IDD_ABOUTBOX]
Type=1
Class=CAboutDlg
ControlCount=4
Control1=IDC_STATIC,static,1342177283
Control2=IDC_STATIC,static,1342308480
Control3=IDC_STATIC,static,1342308352
Control4=IDOK,button,1342373889
[DLG:IDD_EX2_DIALOG]
Type=1
Class=CEx2Dlg
ControlCount=1
Control1=IDC_PUSHME,button,1342242816