📄 scrollview.h
字号:
#if !defined(AFX_SCROLLVIEW_H__CEE5BD21_FA1B_11D3_8A06_9863B9D7184F__INCLUDED_)
#define AFX_SCROLLVIEW_H__CEE5BD21_FA1B_11D3_8A06_9863B9D7184F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ScrollView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CEx07bScrollView view
#include "Ex07bDoc.h"
class CEx07bScrollView : public CScrollView
{
protected:
CEx07bScrollView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CEx07bScrollView)
// Attributes
public:
CEx07bDoc * GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CEx07bScrollView)
public:
virtual void OnPrepareDC(CDC* pDC, CPrintInfo* pInfo = NULL);
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual void OnInitialUpdate(); // first time after construct
virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CEx07bScrollView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
//...
#ifndef _DEBUG
inline CEx07bDoc * CEx07bScrollView::GetDocument()
{
return (CEx07bDoc*) m_pDocument;
}
#endif
// Generated message map functions
//{{AFX_MSG(CEx07bScrollView)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SCROLLVIEW_H__CEE5BD21_FA1B_11D3_8A06_9863B9D7184F__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -