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

📄 baseview.h

📁 本程序源码是为日本一家地震监测机构编写的
💻 H
字号:
#if !defined(AFX_BASEVIEW_H__68430BF8_8F3B_4E7C_9228_A5BC0D49B91D__INCLUDED_)
#define AFX_BASEVIEW_H__68430BF8_8F3B_4E7C_9228_A5BC0D49B91D__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CBaseView view

class CBaseView : public CView
{
protected:
	CBaseView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CBaseView)

protected:
	BOOL IsFileExist(CString StrPN);    //检测文件是否存在
	BOOL CreateFont(CFont &font, int nFontSize);
// Attributes
public:
	CView* m_pCmdView;
	virtual void UpdateView();			//更新视图
	virtual void ClearView();			//清除视图

protected:
	CDC *CreateMemDC(CDC *pDC);
	CDC *GetMemDC();
	void BitBltMemDC(CDC *pDC);
private:
	CRect			m_MemClientRect;			//内存绘图区域
	CBitmap			*m_pBitmap;					//内存位图指针
	CDC				*m_pMemDC;					//内存图像指针

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CBaseView)
	public:
	virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

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

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

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

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

#endif // !defined(AFX_BASEVIEW_H__68430BF8_8F3B_4E7C_9228_A5BC0D49B91D__INCLUDED_)





















⌨️ 快捷键说明

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