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

📄 hzkview.h

📁 一个显示所有点阵字库内容的工具源代码。在汉字显示和过国家标准有极其重要的作用。
💻 H
字号:
// hzkView.h : interface of the CHzkView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_HZKVIEW_H__2FFA6B81_6DCB_485B_BF3D_12DBB342C46E__INCLUDED_)
#define AFX_HZKVIEW_H__2FFA6B81_6DCB_485B_BF3D_12DBB342C46E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CHzkView : public CView
{ 
protected: // create from serialization only
	CHzkView();
	DECLARE_DYNCREATE(CHzkView)

// Attributes
public:
	CDC m_dc;
	CBitmap *	m_obitmap ;  
	CHzkDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CHzkView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual BOOL OnScroll(UINT nScrollCode, UINT nPos, BOOL bDoScroll = TRUE);
	virtual void OnInitialUpdate();
	protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
public:
	UINT m_npages;
	UINT m_npage_size;
	void Refresh(void);
	void DrawFont(CDC *pDC );
	int m_nXchar;
	void MakeRataFond( char * filesave, char * filesrc);
	virtual ~CHzkView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CHzkView)
	afx_msg void OnButtonadd();
	afx_msg void OnFileOpen();
	afx_msg void OnButton32772();
	afx_msg void OnFileSave();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void On12Rotation();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in hzkView.cpp
inline CHzkDoc* CHzkView::GetDocument()
   { return (CHzkDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_HZKVIEW_H__2FFA6B81_6DCB_485B_BF3D_12DBB342C46E__INCLUDED_)

⌨️ 快捷键说明

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