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

📄 frameview.h

📁 有关win32应用程序编程和wince应用程序编程的很全面
💻 H
字号:
// frameView.h : interface of the CFrameView class///////////////////////////////////////////////////////////////////////////////#if !defined(AFX_FRAMEVIEW_H__6D7DB755_77AF_41AA_BB49_3739E933E671__INCLUDED_)#define AFX_FRAMEVIEW_H__6D7DB755_77AF_41AA_BB49_3739E933E671__INCLUDED_#if _MSC_VER >= 1000#pragma once#endif // _MSC_VER >= 1000#include "FiverAI.h"class CFrameView : public CView{protected: // create from serialization only	CFrameView();	DECLARE_DYNCREATE(CFrameView)// Attributespublic:	CFrameDoc* GetDocument();// Operationspublic:	void Draw();//redraw	void DrawChess(int nx,int ny,bool style);// Overrides	// ClassWizard generated virtual function overrides	//{{AFX_VIRTUAL(CFrameView)	public:	virtual void OnDraw(CDC* pDC);  // overridden to draw this view	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);	virtual void OnInitialUpdate();	//}}AFX_VIRTUAL// Implementationpublic:	virtual ~CFrameView();	#ifdef _DEBUG	virtual void AssertValid() const;	virtual void Dump(CDumpContext& dc) const;#endifprotected:// Generated message map functionsprotected:	//{{AFX_MSG(CFrameView)	afx_msg void OnPaint();	afx_msg void OnNewgame();	afx_msg void OnBack();	afx_msg void OnNext();	afx_msg void OnBackrecord();	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);	//}}AFX_MSG	DECLARE_MESSAGE_MAP()private:	CFiverAI *pAI;	CDC qipan;//chessboard	CDC qzh;//black dc	CDC qzb;//white dc	CDC mask;//mask dc	bool style; //black or white//position of puted chessman	int nx;	int ny;};#ifndef _DEBUG  // debug version in frameView.cppinline CFrameDoc* CFrameView::GetDocument()   { return (CFrameDoc*)m_pDocument; }#endif///////////////////////////////////////////////////////////////////////////////{{AFX_INSERT_LOCATION}}// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.#endif // !defined(AFX_FRAMEVIEW_H__6D7DB755_77AF_41AA_BB49_3739E933E671__INCLUDED_)

⌨️ 快捷键说明

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