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


// MyPropertySheet.h : header file 
// 
// This class defines custom modal property sheet  
// CFileGuardPropertySheet. 
  
#ifndef __MYPROPERTYSHEET_H__ 
#define __MYPROPERTYSHEET_H__ 
 
#include "MyPropertyPage1.h" 
 
///////////////////////////////////////////////////////////////////////////// 
// CFileGuardPropertySheet 
 
class CFileGuardPropertySheet : public CPropertySheet 
{ 
	DECLARE_DYNAMIC(CFileGuardPropertySheet) 
 
// Construction 
public: 
	CFileGuardPropertySheet(CWnd* pWndParent = NULL); 
 
// Attributes 
public: 
	CFileGuardPropertyPage1 m_Page1; 
	CFileGuardPropertyPage2 m_Page2; 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CFileGuardPropertySheet) 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	void SetProtectionType(WORD type); 
	WORD GetProtectionType(); 
	CString GetPath(); 
	void SetPath(LPCTSTR lpszPath); 
	virtual ~CFileGuardPropertySheet(); 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CFileGuardPropertySheet) 
		// NOTE - the ClassWizard will add and remove member functions here. 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
#endif	// __MYPROPERTYSHEET_H__