Chapter 12: Dialog-Based Windows Visual C++ and MFC Fundamentals
- Click OK or Finish
- Change the source code of the CGeometryApp class as follows:
// Geometry.cpp : Defines the class behaviors for the application.
//#include "stdafx.h"
#include "Geometry.h"
#include "Quadrilateral.h"
#include "GeomeSheet.h"
#include "Circular.h"
#include "Geome3D.h"#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif/////////////////////////////////////////////////////////////////////////////
// CGeometryAppBEGIN_MESSAGE_MAP(CGeometryApp, CWinApp)
//{{AFX_MSG_MAP(CGeometryApp)
//}}AFX_MSG
ON_COMMAND(ID_HELP, CWinApp::OnHelp)
END_MESSAGE_MAP()/////////////////////////////////////////////////////////////////////////////
// CGeometryApp construction