📄 yw_playballview.h
字号:
// Yw_PlayBallView.h : interface of the CYw_PlayBallView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_YW_PLAYBALLVIEW_H__7D7A3B0C_3454_11D9_842E_000120556A79__INCLUDED_)
#define AFX_YW_PLAYBALLVIEW_H__7D7A3B0C_3454_11D9_842E_000120556A79__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CYw_PlayBallView : public CScrollView
{
protected: // create from serialization only
CYw_PlayBallView();
DECLARE_DYNCREATE(CYw_PlayBallView)
// Attributes
public:
CYw_PlayBallDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CYw_PlayBallView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void OnInitialUpdate(); // called first time after construct
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CYw_PlayBallView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CYw_PlayBallView)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnDestroy();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
afx_msg void OnMenuaccelerate();
afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnMenudrag();
afx_msg void OnMenuup();
afx_msg void OnMenuidown();
afx_msg void OnMenuYwRight();
afx_msg void OnMenuYwLeft();
afx_msg void OnMenuYwUp();
afx_msg void OnMenuYwDown();
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
afx_msg void OnReset();
afx_msg void OnScore();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in Yw_PlayBallView.cpp
inline CYw_PlayBallDoc* CYw_PlayBallView::GetDocument()
{ return (CYw_PlayBallDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_YW_PLAYBALLVIEW_H__7D7A3B0C_3454_11D9_842E_000120556A79__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -