win马踏棋盘view.h

来自「用vc实现的马跳棋盘」· C头文件 代码 · 共 69 行

H
69
字号
// WIN马踏棋盘View.h : interface of the CWINView class
//
/////////////////////////////////////////////////////////////////////////////
#include "MainClass.h"
#if !defined(AFX_WINVIEW_H__761D980A_ED1D_41B3_82C1_E1403F69E778__INCLUDED_)
#define AFX_WINVIEW_H__761D980A_ED1D_41B3_82C1_E1403F69E778__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CWINView : public CView
{
protected: // create from serialization only
	CWINView();
	DECLARE_DYNCREATE(CWINView)

// Attributes
public:
	CWINDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CWINView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CWINView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CWINView)
	afx_msg void OnMenurun();
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	CMainClass ma;
	int f;
	CString time;
};

#ifndef _DEBUG  // debug version in WIN马踏棋盘View.cpp
inline CWINDoc* CWINView::GetDocument()
   { return (CWINDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_WINVIEW_H__761D980A_ED1D_41B3_82C1_E1403F69E778__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?