FilePage.h
上传用户:shouhua
上传日期:2014-12-06
资源大小:5685k
文件大小:2k
- #if !defined(AFX_FILEPAGE_H__E6ABC073_F69A_4B69_9E40_286F86425203__INCLUDED_)
- #define AFX_FILEPAGE_H__E6ABC073_F69A_4B69_9E40_286F86425203__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // FilePage.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CFilePage dialog
- #include "DirTreeCtrl.h"
- #include "MyList.h"
- class CFilePage : public CPropertyPage
- {
- DECLARE_DYNCREATE(CFilePage)
- // Construction
- public:
- void SetHandle(HANDLE handle);
- CFilePage();
- ~CFilePage();
- CDirTreeCtrl m_wndTree;
- int iSelected;
- void DeleteSafety(CString name);
- void RaiseToDebugP();
- BOOL OccupyFile( LPCTSTR lpFileName );
- HANDLE hDevice;
- // void OnItemchangedList(NMHDR* pNMHDR, LRESULT* pResult);
- // Dialog Data
- //{{AFX_DATA(CFilePage)
- enum { IDD = IDD_DIALOG_FILE };
- MyList m_wndList;
- //}}AFX_DATA
- // Overrides
- // ClassWizard generate virtual function overrides
- //{{AFX_VIRTUAL(CFilePage)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CFilePage)
- virtual BOOL OnInitDialog();
- afx_msg void OnRclickProcessList(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnSelchangedTree(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnMenuitemSafeDelete();
- afx_msg void OnMenuitemDelete();
- afx_msg void OnMenuitemNoreDelete();
- afx_msg void OnMenuitemForceKill();
- afx_msg void OnMenuitemSupermode();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- CImageList *m_pImage;
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_FILEPAGE_H__E6ABC073_F69A_4B69_9E40_286F86425203__INCLUDED_)