⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 chessdisplayview.h

📁 马走日源代码 开发环境Visual C++
💻 H
字号:
// ChessDisplayView.h : interface of the CChessDisplayView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_CHESSDISPLAYVIEW_H__279580EB_4282_409F_966D_AA9F5429AB98__INCLUDED_)
#define AFX_CHESSDISPLAYVIEW_H__279580EB_4282_409F_966D_AA9F5429AB98__INCLUDED_

#include "ChessTableRangeSetDlg.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


#include "ChessTableRangeSetDlg.h"
#include "ChessCalculator.h"


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

// Attributes
public:
	CChessDisplayDoc* GetDocument();

// Operations
public:

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

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

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CChessDisplayView)
	afx_msg void OnChessRangeEightEight();
	afx_msg void OnChessRangeFiveFive();
	afx_msg void OnChessRangeNineNine();
	afx_msg void OnChessRangeOther();
	afx_msg void OnChessRangeSevenSeven();
	afx_msg void OnChessRangeSixSix();
	afx_msg void OnChessRangeTenTen();
	afx_msg void OnGraphicResultDisplay();
	afx_msg void OnStartCalculate();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnTextResultDisplay();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnCartoonShow();
	afx_msg void OnDirectShow();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	bool m_painted;

	friend UINT MyThreadProcCal( LPVOID pParam );
	friend UINT MyThreadProcPaint( LPVOID pParam );

	CChessTableRangeSetDlg   m_chessSetDlg;
	CChessCalculator         m_chessCalculator;

};

#ifndef _DEBUG  // debug version in ChessDisplayView.cpp
inline CChessDisplayDoc* CChessDisplayView::GetDocument()
   { return (CChessDisplayDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_CHESSDISPLAYVIEW_H__279580EB_4282_409F_966D_AA9F5429AB98__INCLUDED_)

⌨️ 快捷键说明

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