www.pudn.com > my2cadtest07261930.rar > FileManger.h, change:2006-07-26,size:1018b


// FileManger.h: interface for the CFileManger class. 
// 
////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_FILEMANGER_H__6D77366B_EA29_4FF5_BF4E_37C241752195__INCLUDED_) 
#define AFX_FILEMANGER_H__6D77366B_EA29_4FF5_BF4E_37C241752195__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#include <commdlg.h> 
 
class CFileManger   
{ 
public: 
	bool NewFile(HWND hWnd); 
	void UmToPixel(ENHMETAHEADER &header, RECT &rect); 
	bool LoadFromFile(HWND hWnd); 
	bool SaveToFile(HWND); 
	void PopFileInitialize(HINSTANCE hInstance, HWND hwnd); 
	CFileManger(); 
	virtual ~CFileManger(); 
	static int CALLBACK EnhMetaFileProc (HDC hdc, HANDLETABLE * pHandleTable, 
                              CONST ENHMETARECORD * pEmfRecord,  
                              int iHandles, LPARAM pData); 
 
protected: 
	void Map10um(HDC hdc, RECT& rect); 
	OPENFILENAME m_ofn; 
}; 
 
#endif // !defined(AFX_FILEMANGER_H__6D77366B_EA29_4FF5_BF4E_37C241752195__INCLUDED_)