testview.h

来自「本程序实现了自动平差的功能」· C头文件 代码 · 共 56 行

H
56
字号
// testview.h : interface of the CTestView class
//
/////////////////////////////////////////////////////////////////////////////

class CTestView : public CZoomView
{
protected: // create from serialization only
	CTestView();
	DECLARE_DYNCREATE(CTestView)

// Attributes
public:
	CDemo_DevStudioDoc* GetDocument();

// Operations
public:

// Implementation
public:
	virtual ~CTestView();
	virtual void OnInitialUpdate();
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Printing support
protected:
//	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
//	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
//	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);

// Generated message map functions
protected:
	//{{AFX_MSG(CTestView)
//	afx_msg void OnViewZoomin();
//	afx_msg void OnViewZoomout();
//	afx_msg void OnViewZoomfull();
//	afx_msg void OnUpdateViewZoomin(CCmdUI* pCmdUI);
//	afx_msg void OnUpdateViewZoomout(CCmdUI* pCmdUI);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

// Class data members
private:
	CFont *m_font;
};

#ifndef _DEBUG	// debug version in testview.cpp
inline CDemo_DevStudioDoc* CTestView::GetDocument()
   { return (CDemo_DevStudioDoc*) m_pDocument; }
#endif

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

⌨️ 快捷键说明

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