rollwordsview.h

来自「本压缩软件为《Visual C++6.0基础教程》(黑魔方系列)一书的源代码」· C头文件 代码 · 共 73 行

H
73
字号
// RollwordsView.h : interface of the CRollwordsView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_ROLLWORDSVIEW_H__B624CECD_71AF_11D7_B352_0080C8DBD360__INCLUDED_)
#define AFX_ROLLWORDSVIEW_H__B624CECD_71AF_11D7_B352_0080C8DBD360__INCLUDED_

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


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

// Attributes
public:
	CRollwordsDoc* GetDocument();

// Operations
public:
	int a;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CRollwordsView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

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

protected:
private:
	int n;
	int m;
// Generated message map functions
protected:
	//{{AFX_MSG(CRollwordsView)
	afx_msg void OnMove();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnStop();
	afx_msg void OnUpdateMove(CCmdUI* pCmdUI);
	afx_msg void OnUpdateStop(CCmdUI* pCmdUI);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in RollwordsView.cpp
inline CRollwordsDoc* CRollwordsView::GetDocument()
   { return (CRollwordsDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_ROLLWORDSVIEW_H__B624CECD_71AF_11D7_B352_0080C8DBD360__INCLUDED_)

⌨️ 快捷键说明

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