📄 amazeview.h
字号:
// AmazeView.h : interface of the CAmazeView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_AMAZEVIEW_H__EEA2E9C1_90C8_11D4_A154_89D8A9A95671__INCLUDED_)
#define AFX_AMAZEVIEW_H__EEA2E9C1_90C8_11D4_A154_89D8A9A95671__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define SEPARATE 6
class CAmazeView : public CScrollView
{
protected: // create from serialization only
CAmazeView();
DECLARE_DYNCREATE(CAmazeView)
// Attributes
public:
CAmazeDoc* GetDocument();
// Operations
public:
void ResetScrollbar();
bool m_bDis;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAmazeView)
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
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CAmazeView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CAmazeView)
afx_msg void OnNew();
afx_msg void OnDis();
afx_msg void OnUpdateDis(CCmdUI* pCmdUI);
afx_msg void OnWidth();
afx_msg void OnHeight();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in AmazeView.cpp
inline CAmazeDoc* CAmazeView::GetDocument()
{ return (CAmazeDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_AMAZEVIEW_H__EEA2E9C1_90C8_11D4_A154_89D8A9A95671__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -