FilePage.h
上传用户:shouhua
上传日期:2014-12-06
资源大小:5685k
文件大小:2k
源码类别:

杀毒

开发平台:

Visual C++

  1. #if !defined(AFX_FILEPAGE_H__E6ABC073_F69A_4B69_9E40_286F86425203__INCLUDED_)
  2. #define AFX_FILEPAGE_H__E6ABC073_F69A_4B69_9E40_286F86425203__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // FilePage.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CFilePage dialog
  10. #include "DirTreeCtrl.h"
  11. #include "MyList.h"
  12. class CFilePage : public CPropertyPage
  13. {
  14. DECLARE_DYNCREATE(CFilePage)
  15. // Construction
  16. public:
  17. void SetHandle(HANDLE   handle);
  18. CFilePage();
  19. ~CFilePage();
  20.     CDirTreeCtrl m_wndTree;
  21. int   iSelected;
  22. void DeleteSafety(CString   name);
  23. void RaiseToDebugP();
  24. BOOL OccupyFile( LPCTSTR lpFileName );
  25. HANDLE    hDevice;
  26. // void OnItemchangedList(NMHDR* pNMHDR, LRESULT* pResult);
  27. // Dialog Data
  28. //{{AFX_DATA(CFilePage)
  29. enum { IDD = IDD_DIALOG_FILE };
  30. MyList m_wndList;
  31. //}}AFX_DATA
  32. // Overrides
  33. // ClassWizard generate virtual function overrides
  34. //{{AFX_VIRTUAL(CFilePage)
  35. protected:
  36. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  37. //}}AFX_VIRTUAL
  38. // Implementation
  39. protected:
  40. // Generated message map functions
  41. //{{AFX_MSG(CFilePage)
  42. virtual BOOL OnInitDialog();
  43. afx_msg void OnRclickProcessList(NMHDR* pNMHDR, LRESULT* pResult);
  44. afx_msg void OnSelchangedTree(NMHDR* pNMHDR, LRESULT* pResult);
  45. afx_msg void OnMenuitemSafeDelete();
  46. afx_msg void OnMenuitemDelete();
  47. afx_msg void OnMenuitemNoreDelete();
  48. afx_msg void OnMenuitemForceKill();
  49. afx_msg void OnMenuitemSupermode();
  50. //}}AFX_MSG
  51. DECLARE_MESSAGE_MAP()
  52. private:
  53. CImageList  *m_pImage;
  54. };
  55. //{{AFX_INSERT_LOCATION}}
  56. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  57. #endif // !defined(AFX_FILEPAGE_H__E6ABC073_F69A_4B69_9E40_286F86425203__INCLUDED_)