-
Notifications
You must be signed in to change notification settings - Fork 2
/
BoardRightView.cpp
executable file
·67 lines (53 loc) · 1.68 KB
/
BoardRightView.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
// BoardRightView.cpp : implementation file
//
#include "stdafx.h"
#include "HuiReversi.h"
#include "BoardRightView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CBoardRightView
IMPLEMENT_DYNCREATE(CBoardRightView, CFormView)
CBoardRightView::CBoardRightView()
: CFormView(CBoardRightView::IDD)
{
//{{AFX_DATA_INIT(CBoardRightView)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
CBoardRightView::~CBoardRightView()
{
}
void CBoardRightView::DoDataExchange(CDataExchange* pDX)
{
CFormView::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CBoardRightView)
DDX_Control(pDX, IDC_PROTHINK, m_TinkPro);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CBoardRightView, CFormView)
//{{AFX_MSG_MAP(CBoardRightView)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CBoardRightView diagnostics
#ifdef _DEBUG
void CBoardRightView::AssertValid() const
{
CFormView::AssertValid();
}
void CBoardRightView::Dump(CDumpContext& dc) const
{
CFormView::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CBoardRightView message handlers
BOOL CBoardRightView::Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext)
{
return CFormView::Create(lpszClassName, lpszWindowName, dwStyle, rect, pParentWnd, nID, pContext);
}