www.pudn.com > FileGuard.zip > MyPropertyPage1.h


// MyPropertyPage1.h : header file 
// 
 
#ifndef __MYPROPERTYPAGE1_H__ 
#define __MYPROPERTYPAGE1_H__ 
 
///////////////////////////////////////////////////////////////////////////// 
// CFileGuardPropertyPage1 dialog 
 
class CFileGuardPropertyPage1 : public CPropertyPage 
{ 
	DECLARE_DYNCREATE(CFileGuardPropertyPage1) 
 
// Construction 
public: 
	WORD m_protectionType; 
	HWND m_hPrevWnd; 
	CFileGuardPropertyPage1(); 
	~CFileGuardPropertyPage1(); 
 
// Dialog Data 
	//{{AFX_DATA(CFileGuardPropertyPage1) 
	enum { IDD = IDD_PROPPAGE1 }; 
	CString	m_strPath; 
	int		m_nAction; 
	CString	m_strHookStatus;  
	BOOL	m_bActivate; 
	BOOL	m_bWriteProtection; 
	BOOL	m_bReadProtection; 
	BOOL	m_bHideFile; 
	BOOL	m_bDeleteProtection; 
	//}}AFX_DATA 
 
 
// Overrides 
	// ClassWizard generate virtual function overrides 
	//{{AFX_VIRTUAL(CFileGuardPropertyPage1) 
	public: 
	virtual void OnOK(); 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	// Generated message map functions 
	//{{AFX_MSG(CFileGuardPropertyPage1) 
	afx_msg void OnAdd(); 
	afx_msg void OnRemove(); 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnChangePath(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
 
}; 
 
 
///////////////////////////////////////////////////////////////////////////// 
// CFileGuardPropertyPage2 dialog 
 
class CFileGuardPropertyPage2 : public CPropertyPage 
{ 
	DECLARE_DYNCREATE(CFileGuardPropertyPage2) 
 
// Construction 
public: 
	CFileGuardPropertyPage2(); 
	~CFileGuardPropertyPage2(); 
 
// Dialog Data 
	//{{AFX_DATA(CFileGuardPropertyPage2) 
	enum { IDD = IDD_PROPPAGE2 }; 
		// NOTE - ClassWizard will add data members here. 
		//    DO NOT EDIT what you see in these blocks of generated code ! 
	//}}AFX_DATA 
 
 
// Overrides 
	// ClassWizard generate virtual function overrides 
	//{{AFX_VIRTUAL(CFileGuardPropertyPage2) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	// Generated message map functions 
	//{{AFX_MSG(CFileGuardPropertyPage2) 
		// NOTE: the ClassWizard will add member functions here 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
 
}; 
 
#endif // __MYPROPERTYPAGE1_H__