⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hwpre2view.h

📁 关于字符分割的程序
💻 H
字号:
#if !defined(AFX_HWPRE2VIEW_H__41A7E929_7E8D_4422_AEB4_FC11B3CE5D2B__INCLUDED_)
#define AFX_HWPRE2VIEW_H__41A7E929_7E8D_4422_AEB4_FC11B3CE5D2B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Hwpre2View.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CHwpre2View view

class CHwpre2View : public CScrollView
{
protected:
	CHwpre2View();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CHwpre2View)

// Attributes
public:
	CHwpreDoc* GetDocument();
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CHwpre2View)
	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);
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CHwpre2View();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif
protected:
	enum{
		ID_DISP_ORIG = 0,              //原始比例显示
		ID_DISP_STRETCH1 = 1,          //按窗口大小拉伸显示
		ID_DISP_STRETCH2 = 2           //按比例拉伸
	} m_bStretchDisp;
	CRect m_rectView;
	// Generated message map functions
protected:
	//{{AFX_MSG(CHwpre2View)
	afx_msg LRESULT OnDoRealize(WPARAM wParam, LPARAM lParam);  // user message
	afx_msg void OnViewOrig();
	afx_msg void OnUpdateViewOrig(CCmdUI* pCmdUI);
	afx_msg void OnViewStretch1();
	afx_msg void OnUpdateViewStretch1(CCmdUI* pCmdUI);
	afx_msg void OnViewStretch2();
	afx_msg void OnUpdateViewStretch2(CCmdUI* pCmdUI);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG  // debug version in hwpreView.cpp
inline CHwpreDoc* CHwpre2View::GetDocument()
   { return (CHwpreDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_HWPRE2VIEW_H__41A7E929_7E8D_4422_AEB4_FC11B3CE5D2B__INCLUDED_)

⌨️ 快捷键说明

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