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

📄 skinview.h

📁 石油行业油井损害软件,有详细的油井损害模型,对石油建模有重要帮助
💻 H
字号:
// SkinView.h : interface of the CMyView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_SKINVIEW_H__7DD8CC58_377F_11D2_80EF_6CE606C10000__INCLUDED_)
#define AFX_SKINVIEW_H__7DD8CC58_377F_11D2_80EF_6CE606C10000__INCLUDED_

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

#include "chartfx.h"
#include "vcf1.h"
#include "comdef.h"
#include "msword8.h"

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

// Attributes
public:
	CMyDoc* GetDocument();

// Operations
public:
	CString str1,str2,str3,str4,str5,str6,str7,str8,str9, ReportName;
	CChartfx*  pChart;
	CVCF1  *pReport1, *pReport2;
	CFont myfont, *myfont1, *myfont2;
	CRect Client;
	CRect cDrawRect;
	BOOL bChartCreat, bPrint, bReportCreat;
	BOOL   bPrintReport, bFontCreate;

	// 用于向word传递数据
	_Application msword;	
	Documents  msdocu;
	Selection  msselection;
	
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMyView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void OnInitialUpdate();
	protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

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

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CMyView)
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnFilePrintReport();
	afx_msg void OnFileExporttoword();
	afx_msg void OnUpdateFileExporttoword(CCmdUI* pCmdUI);
	afx_msg void OnUpdateFilePrintReport(CCmdUI* pCmdUI);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	void SetReport2Value();
	void SetReport1Value();
};

#ifndef _DEBUG  // debug version in SkinView.cpp
inline CMyDoc* CMyView::GetDocument()
   { return (CMyDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_SKINVIEW_H__7DD8CC58_377F_11D2_80EF_6CE606C10000__INCLUDED_)

⌨️ 快捷键说明

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