?? 4_1view.h
字號(hào):
// 4_1View.h : interface of the CMy4_1View class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_4_1VIEW_H__947603ED_CE52_11D5_B2C4_5254AB2BD63E__INCLUDED_)
#define AFX_4_1VIEW_H__947603ED_CE52_11D5_B2C4_5254AB2BD63E__INCLUDED_
#include "Russia.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CMy4_1View : public CView
{
protected: // create from serialization only
CMy4_1View();
DECLARE_DYNCREATE(CMy4_1View)
// Attributes
public:
CMy4_1Doc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMy4_1View)
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:
int player;//幾個(gè)人
int view;//哪種界面
CRussia russia2;
CRussia russia;//俄羅斯類
bool start;//開始
CBitmap fenmian;//封面
CBitmap xuanze[3];//選擇三種圖形
int ixuanze;//選擇哪一種游戲
BOOL m_bPause;//暫停
virtual ~CMy4_1View();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CMy4_1View)
afx_msg void OnMenuStart();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnMenuPause();
afx_msg void OnUpdateMenuPause(CCmdUI* pCmdUI);
afx_msg void OnView1();
afx_msg void OnView2();
afx_msg void OnUpdateView1(CCmdUI* pCmdUI);
afx_msg void OnUpdateView2(CCmdUI* pCmdUI);
afx_msg void OnMenuDstart();
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnMenuTstart();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in 4_1View.cpp
inline CMy4_1Doc* CMy4_1View::GetDocument()
{ return (CMy4_1Doc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_4_1VIEW_H__947603ED_CE52_11D5_B2C4_5254AB2BD63E__INCLUDED_)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -