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

📄 bmpvidoc.h

📁 讲mfc的书
💻 H
字号:
// bmpvidoc.h : interface of the CBmpViewDoc class
//
/////////////////////////////////////////////////////////////////////////////
#include "cdib.h"

class CBmpViewDoc : public CDocument
{
protected: // create from serialization only
	CBmpViewDoc();
	DECLARE_DYNCREATE(CBmpViewDoc)

// Attributes    
protected:
    CDib *m_dib;
public:
// Operations
public:  
   CDib *GetDIB(void) { return m_dib; };

// Implementation
public:
	virtual ~CBmpViewDoc();
	virtual void Serialize(CArchive& ar);   // overridden for document i/o
	virtual BOOL OnOpenDocument(const char *fn);
	virtual BOOL OnSaveDocument(const char *fn); 
	void DeleteContents(void); 
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:
	virtual BOOL OnNewDocument();

// Generated message map functions
protected:
	//{{AFX_MSG(CBmpViewDoc)
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

⌨️ 快捷键说明

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