Информатика и программирование: Visual C++ с использованием библиотеки MFC. Дербакова Е.П. - 46 стр.

UptoLike

Составители: 

46
Листинг файла NewprjView.cpp.
// newprjView.cpp : implementation of the
CNewprjView class
#include "stdafx.h"
#include "newprj.h"
#include "newprjDoc.h"
#include "newprjView.h"
///////////////////////////////////////////////////////////////////////////
//
// CNewprjView
IMPLEMENT_DYNCREATE(CNewprjView,
CView)
BEGIN_MESSAGE_MAP(CNewprjView, CView)
//{{AFX_MSG_MAP(CNewprjView)
// NOTE - the ClassWizard will add
and remove mapping macros here.
// DO NOT EDIT what you see in
these blocks of generated code!
//}}AFX_MSG_MAP
// Standard printing commands
ON_COMMAND(ID_FILE_PRINT,
CView::OnFilePrint)
ON_COMMAND(ID_FILE_PRINT_DIRECT
, CView::OnFilePrint)
Листинг файла NewprjView.cpp.

// newprjView.cpp : implementation of the
CNewprjView class
#include "stdafx.h"
#include "newprj.h"
#include "newprjDoc.h"
#include "newprjView.h"
///////////////////////////////////////////////////////////////////////////
//
// CNewprjView
IMPLEMENT_DYNCREATE(CNewprjView,
CView)

BEGIN_MESSAGE_MAP(CNewprjView, CView)
      //{{AFX_MSG_MAP(CNewprjView)
             // NOTE - the ClassWizard will add
and remove mapping macros here.
             // DO NOT EDIT what you see in
these blocks of generated code!
      //}}AFX_MSG_MAP
      // Standard printing commands
      ON_COMMAND(ID_FILE_PRINT,
CView::OnFilePrint)
      ON_COMMAND(ID_FILE_PRINT_DIRECT
, CView::OnFilePrint)


                                    46