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

📄 huanfangview.h

📁 一个关于幻方的小游戏
💻 H
字号:
// HuanFangView.h : interface of the CHuanFangView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_HUANFANGVIEW_H__E0D0A8EE_109B_442C_9364_BF71DD4CBCC5__INCLUDED_)
#define AFX_HUANFANGVIEW_H__E0D0A8EE_109B_442C_9364_BF71DD4CBCC5__INCLUDED_

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


class CHuanFangView : public CView
{
protected:
	CRect   m_Rectangle;
	CPoint	m_adrmode;
//	int		m_xchar,m_ychar;
	//void    exchange(CPoint); 
protected: // create from serialization only
	CHuanFangView();
	DECLARE_DYNCREATE(CHuanFangView)

// Attributes
public:
	int **huanfang;
	int **B_huanfang;
//	int** shenchengshuzu(int number);
//	void tiancongguizhe(int first_hang,int first_lie,int last_hang,int last_lie);
public:
	CHuanFangDoc* GetDocument();

// Operations
public:

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

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

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CHuanFangView)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnKillFocus(CWnd* pNewWnd);
	afx_msg void OnSetFocus(CWnd* pOldWnd);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg void OnEditClear();
	afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);

	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in HuanFangView.cpp
inline CHuanFangDoc* CHuanFangView::GetDocument()
   { return (CHuanFangDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_HUANFANGVIEW_H__E0D0A8EE_109B_442C_9364_BF71DD4CBCC5__INCLUDED_)

⌨️ 快捷键说明

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