【VC开源代码栏目提醒】:网学会员VC开源代码为您提供FAMILY.CPP参考,解决您在FAMILY.CPP学习中工作中的难题,参考学习。
#include "stdafx.h"
#include "Family.h"
/////////////////////////////////////////////////////////////////////////////
// CPaul
IMPLEMENT_DYNCREATE(CPaul, CView)
CPaul::CPaul()
{
}
CPaul::~CPaul()
{
}
BEGIN_MESSAGE_MAP(CPaul, CView)
//{{AFX_MSG_MAP(CPaul)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CPaul drawing
void CPaul::OnDraw(CDC* pDC)
{
CDocument* pDoc = GetDocument();
// TODO: add draw code here
pDC->TextOut(0,0,"son Paul");
}
/////////////////////////////////////////////////////////////////////////////
// CPaul diagnostics
#ifdef _DEBUG
void CPaul::AssertValid() const
{
CView::AssertValid();
}
void CPaul::Dump(CDumpContext& dc) const
{
CView::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CPaul message handlers
/////////////////////////////////////////////////////////////////////////////
// CJames
IMPLEMENT_DYNCREATE(CJames, CView)
CJames::CJames()
{
}
CJames::~CJames()
{
}
BEGIN_MESSAGE_MAP(CJames, CView)
//{{AFX_MSG_MAP(CJames)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CJames drawing
void CJames::OnDraw(CDC* pDC)
{
CDocument* pDoc = GetDocument();
// TODO: add draw code here
pDC->TextOut(0,0,"son James");
}
/////////////////////////////////////////////////////////////////////////////
// CJames diagnostics
#ifdef _DEBUG
void CJames::AssertValid() const
{
CView::AssertValid();
}
void CJames::Dump(CDumpContext& dc) const
{
CView::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CJames message handlers
/////////////////////////////////////////////////////////////////////////////
// CBill
IMPLEMENT_DYNCREATE(CBill, CView)
CBill::CBill()
{
}
CBill::~CBill()
{
}
BEGIN_MESSAGE_MAP(CBill, CView)
//{{AFX_MSG_MAP(CBill)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CBill drawing
void CBill::OnDraw(CDC* pDC)
{
CDocument* pDoc = GetDocument();
// TODO: add draw code here
pDC->TextOut(0,0,"son Bill");
}
/////////////////////////////////////////////////////////////////////////////
// CBill diagnostics
#ifdef _DEBUG
void CBill::AssertValid() const
{
CView::AssertValid();
}
void CBill::Dump(CDumpContext& dc) const
{
CView::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CBill message handlers
/////////////////////////////////////////////////////////////////////////////
// CAlex
IMPLEMENT_DYNCREATE(CAlex, CView)
CAlex::CAlex()
{
}
CAlex::~CAlex()
{
}
BEGIN_MESSAGE_MAP(CAlex, CView)
//{{AFX_MSG_MAP(CAlex)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CAlex drawing
void CAlex::OnDraw(CDC* pDC)
{
CDocument* pDoc = GetDocument();
// TODO: add draw code here
pDC->TextOut(0,0,"son Alex");
}
/////////////////////////////////////////////////////////////////////////////
// CAlex diagnostics
#ifdef _DEBUG
void CAlex::AssertValid() const
{
CView::AssertValid();
}
void CAlex::Dump(CDumpContext& dc) const
{
CView::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CAlex message handlers
/////////////////////////////////////////////////////////////////////////////
// CDaddy
IMPLEMENT_DYNCREATE(CDaddy, CView)
CDaddy::CDaddy()
{
}
CDaddy::~CDaddy()
{
}
BEGIN_MESSAGE_MAP(CDaddy, CView)
//{{AFX_MSG_MAP(CDaddy)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDaddy drawing
void CDaddy::OnDraw(CDC* pDC)
{
CDocument* pDoc = GetDocument();
// TODO: add draw code here
pDC->TextOut(0,0,"Daddy");
}
/////////////////////////////////////////////////////////////////////////////
// CDaddy diagnostics
#ifdef _DEBUG
void CDaddy::AssertValid() const
{
CView::AssertValid();
}
void CDaddy::Dump(CDumpContext& dc) const
{
CView::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CDaddy message handlers
上一篇:
FadeTestDlg.cpp
下一篇:
盘点士兵的各种搞笑失误,连老纳都笑了!