childview.h

来自「是本人编写的串行通信的程序」· C头文件 代码 · 共 74 行

H
74
字号
#if !defined(AFX_CHILDVIEW_H__811DB970_CDE6_11D7_9F4D_8B0C7F79AB2E__INCLUDED_)
#define AFX_CHILDVIEW_H__811DB970_CDE6_11D7_9F4D_8B0C7F79AB2E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ChildView.h : header file
//
#include "ChildFrame.h"
#include "WrapperView.h"
//#include "FingerRecordSet.h"
//#include "ICCardRecordSet.h"
//#include "UltraPatientSet.h"

/////////////////////////////////////////////////////////////////////////////
// CChildView view

class CChildView : public CWrapperView
{
protected:
	
	DECLARE_DYNCREATE(CChildView)

// Attributes
public:
   CChildView();           // protected constructor used by dynamic creation
   HBITMAP hBmp1,hBmp2,hBmp3,hBmp4 ,hBmp;
   HBITMAP bmpPhoto1,bmpPhoto2,bmpPhoto3,bmpPhoto4,bmpPhoto;


   CString m_strPath;
   int m_nWinHDotsPerInch;
   int m_nWinVDotsPerInch;
   float hScale;
   float vScale;
   CRect m_rcPrint;
 // Operations
public:
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CChildView)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnPrepareDC(CDC*pDC,CPrintInfo*pInfo);
	//}}AFX_VIRTUAL

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

	// Generated message map functions
protected:
	//{{AFX_MSG(CChildView)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
	afx_msg void OnFilePrint();
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_CHILDVIEW_H__811DB970_CDE6_11D7_9F4D_8B0C7F79AB2E__INCLUDED_)

⌨️ 快捷键说明

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