SetupDlg.h
上传用户:yatsl7111
上传日期:2007-01-08
资源大小:1433k
文件大小:2k
源码类别:

图形图象

开发平台:

Visual C++

  1. // SetupDlg.h : header file
  2. //
  3. #if !defined(AFX_SETUPDLG_H__533F2566_BA34_11D4_8853_444553540000__INCLUDED_)
  4. #define AFX_SETUPDLG_H__533F2566_BA34_11D4_8853_444553540000__INCLUDED_
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif // _MSC_VER > 1000
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CSetupDlg dialog
  10. class CSetupDlg : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CSetupDlg(CWnd* pParent = NULL); // standard constructor
  15. struct FindInfo
  16. {
  17. BYTE m_FileName[MAX_PATH];
  18. BYTE m_DesFile[MAX_PATH];
  19. BYTE m_SouFile[MAX_PATH];
  20. };
  21. // Dialog Data
  22. //{{AFX_DATA(CSetupDlg)
  23. enum { IDD = IDD_SETUP_DIALOG };
  24. CButton m_OK;
  25. CStatic m_Opr;
  26. CEdit m_Edit;
  27. CButton m_Dir;
  28. CProgressCtrl m_Progress;
  29. //}}AFX_DATA
  30. // ClassWizard generated virtual function overrides
  31. //{{AFX_VIRTUAL(CSetupDlg)
  32. protected:
  33. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  34. //}}AFX_VIRTUAL
  35. // Attrib
  36. BYTE m_FinPath[MAX_PATH];
  37. BYTE m_SouPath[MAX_PATH];
  38. BYTE m_DesPath[MAX_PATH];
  39. int m_FineCount;
  40. FindInfo m_FindInfo[256];
  41. HKEY m_hKey; // 插件总句柄
  42. BOOL m_RegMark;
  43. CString m_RegNameSpace;
  44. DWORD m_RegNameCount;
  45. CString m_RegPluginsPath;
  46. // Implementation
  47. protected:
  48. BOOL CopyIRWFile(LPCTSTR desfn, LPCTSTR soufn, LPCTSTR fn);
  49. HICON m_hIcon;
  50. // Generated message map functions
  51. //{{AFX_MSG(CSetupDlg)
  52. virtual BOOL OnInitDialog();
  53. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  54. afx_msg void OnPaint();
  55. afx_msg HCURSOR OnQueryDragIcon();
  56. afx_msg void OnDir();
  57. virtual void OnOK();
  58. //}}AFX_MSG
  59. DECLARE_MESSAGE_MAP()
  60. };
  61. //{{AFX_INSERT_LOCATION}}
  62. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  63. #endif // !defined(AFX_SETUPDLG_H__533F2566_BA34_11D4_8853_444553540000__INCLUDED_)