CopyFilesDlg.h
资源名称:DXGuide.zip [点击查看]
上传用户:wymy58
上传日期:2007-01-07
资源大小:2086k
文件大小:2k
源码类别:
DirextX编程
开发平台:
Visual C++
- #if !defined(AFX_COPYFILESDLG_H__4AE2A944_C846_11D2_B38F_B714758B3535__INCLUDED_)
- #define AFX_COPYFILESDLG_H__4AE2A944_C846_11D2_B38F_B714758B3535__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // CopyFilesDlg.h : header file
- //
- #include "FileList.h"
- /////////////////////////////////////////////////////////////////////////////
- // CCopyFilesDlg dialog
- class CCopyFilesDlg : public CDialog
- {
- // Construction
- public:
- CCopyFilesDlg(CWnd* pParent = NULL); // standard constructor
- DWORD m_dwSize;
- CString m_strSrc, m_strDest;
- CFileList *m_flSrc, *m_flDest;
- void CopyFF();
- void CopyFD();
- void CopyDF();
- void CopyDD();
- void UpdateProg(DWORD dwSize);
- void SearchDirectory(LPCTSTR strPath, BOOL bCreateDest = FALSE);
- CMap <CString, LPCTSTR, CString, LPCTSTR> m_map;
- // Dialog Data
- //{{AFX_DATA(CCopyFilesDlg)
- enum { IDD = IDD_FILECPYDLG };
- CStatic m_prompt;
- CStatic m_percent;
- CProgressCtrl m_prog;
- CAnimateCtrl m_avi;
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CCopyFilesDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CCopyFilesDlg)
- virtual BOOL OnInitDialog();
- virtual void OnOK();
- virtual void OnCancel();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_COPYFILESDLG_H__4AE2A944_C846_11D2_B38F_B714758B3535__INCLUDED_)