www.pudn.com > GGBT.rar > DlgMakeMetafile.h


#if !defined(AFX_DLGMAKEMETAFILE_H__42574A9F_7C6F_47E8_8D1C_06843D1FF257__INCLUDED_) 
#define AFX_DLGMAKEMETAFILE_H__42574A9F_7C6F_47E8_8D1C_06843D1FF257__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// DlgMakeMetafile.h : header file 
// 
 
#include "MakeMetafile.h" 
#include "HistoryComboEx.h" 
#include "CategoryCombobox.h" 
#include "ButtonEx.h" 
 
class CTreeCursor; 
class CTestBTDoc;  
 
///////////////////////////////////////////////////////////////////////////// 
// CDlgMakeMetafile dialog 
 
class CDlgMakeMetafile : public CDialog 
{ 
// Construction 
public: 
	CDlgMakeMetafile(CTestBTDoc* pTestBTDoc, CWnd* pParent = NULL);   // standard constructor 
 
// Dialog Data 
	//{{AFX_DATA(CDlgMakeMetafile) 
	enum { IDD = IDD_DIALOG_MAKE_METAFILE }; 
	CButtonEx	m_btnCancel; 
	CButtonEx	m_btnAddExit; 
	CButtonEx	m_btnAdd; 
	CButtonEx	m_btnMake; 
	CCategoryCombobox m_cbCategory; 
	CHistoryComboEx	m_cbUrl; 
	CComboBox	m_cbPieceLength; 
	CProgressCtrl	m_progMakeMetafile; 
	CString	m_strFilePath; 
	CString	m_strComment; 
	CEdit m_edCurMetaFile; 
	//}}AFX_DATA 
 
	CTestBTDoc* m_pTestBTDoc; 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CDlgMakeMetafile) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
 
	// Generated message map functions 
	//{{AFX_MSG(CDlgMakeMetafile) 
	virtual BOOL OnInitDialog(); 
	virtual void OnOK(); 
	afx_msg void OnDestroy(); 
	afx_msg void OnButtonSelectPath(); 
	afx_msg void OnButtonSelectFile(); 
	afx_msg void OnButtonAdd(); 
	afx_msg void OnButtonOpenFolder(); 
	afx_msg void OnButtonAddExit(); 
	afx_msg void OnButtonMake(); 
	//}}AFX_MSG 
	void OnMakeProgress(long lParam, long wParam); 
	void OnMakeFinished(long lParam, long wParam); 
	DECLARE_MESSAGE_MAP() 
 
private: 
	void Copy(CTreeCursor& curItem, int iIndent = 1); 
	void UpdateCommandUI(); 
 
	CMakeMetaFile m_MakeMetaFile; 
	string m_strSaveDBpath; 
 
	bool m_bMakeAddExit; 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_DLGMAKEMETAFILE_H__42574A9F_7C6F_47E8_8D1C_06843D1FF257__INCLUDED_)