htextvw.h

来自「VisualC++多媒体开发指南配套源码」· C头文件 代码 · 共 52 行

H
52
字号
// htextvw.h : interface of the CHtext2View class
//
/////////////////////////////////////////////////////////////////////////////

class CHtext2View : public CScrollView
{
protected: // create from serialization only
	CHtext2View();
	DECLARE_DYNCREATE(CHtext2View)

// Attributes
public:
	CHtext2Doc* GetDocument();
	void DisplayTopic(CDC* pDC, CHtext2Doc* pDoc);

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CHtext2View)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	protected:
	virtual void OnInitialUpdate(); // called first time after construct
	//}}AFX_VIRTUAL

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

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CHtext2View)
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in htextvw.cpp
inline CHtext2Doc* CHtext2View::GetDocument()
   { return (CHtext2Doc*)m_pDocument; }
#endif

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

⌨️ 快捷键说明

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