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

📄 convertdoc.h

📁 本程序主要完成pic到tif图像格式的转换(由图象格式转换菜单实现)并且完成了读写pic,tif图像文件的源代码。File/open菜单完成在原始图中获取任意位置和大小的图像。
💻 H
字号:
// convertDoc.h : interface of the CConvertDoc class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_CONVERTDOC_H__1D45254D_0106_11D5_8461_001088C020BC__INCLUDED_)
#define AFX_CONVERTDOC_H__1D45254D_0106_11D5_8461_001088C020BC__INCLUDED_

#include "Image.h"	// Added by ClassView
#include "SaveDialog.h"//by hand
#include "DialogGetImg.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


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

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CConvertDoc)
	public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);
	virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
	//}}AFX_VIRTUAL

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

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CConvertDoc)
	afx_msg void OnImageSaveas();
	afx_msg void OnImageGet();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_CONVERTDOC_H__1D45254D_0106_11D5_8461_001088C020BC__INCLUDED_)

⌨️ 快捷键说明

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