www.pudn.com > FileGuard.zip > ProtFilePropDlg.cpp


// ProtFilePropDlg.cpp : implementation file 
// 
 
#include "stdafx.h" 
#include "resource.h" 
#include "FileGuardApp.h" 
#include "ProtFilePropDlg.h" 
 
#ifdef _DEBUG 
#define new DEBUG_NEW 
#undef THIS_FILE 
static char THIS_FILE[] = __FILE__; 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
// CProtFilePropDlg dialog 
 
 
CProtFilePropDlg::CProtFilePropDlg(CWnd* pParent /*=NULL*/) 
	: CDialog(CProtFilePropDlg::IDD, pParent) 
{ 
	//{{AFX_DATA_INIT(CProtFilePropDlg) 
	m_strPath = _T(""); 
	m_bFileDeleteProt = -1; 
	m_bFileHide = -1; 
	m_bFileReadProt = -1; 
	m_bFileWriteProt = -1; 
	//}}AFX_DATA_INIT 
} 
 
 
void CProtFilePropDlg::DoDataExchange(CDataExchange* pDX) 
{ 
	CDialog::DoDataExchange(pDX); 
	//{{AFX_DATA_MAP(CProtFilePropDlg) 
	DDX_Text(pDX, IDC_PATH, m_strPath); 
	DDX_Check(pDX, IDC_PT_DELETE, m_bFileDeleteProt); 
	DDX_Check(pDX, IDC_PT_HIDE, m_bFileHide); 
	DDX_Check(pDX, IDC_PT_READ, m_bFileReadProt); 
	DDX_Check(pDX, IDC_PT_WRITE, m_bFileWriteProt); 
	//}}AFX_DATA_MAP 
} 
 
 
BEGIN_MESSAGE_MAP(CProtFilePropDlg, CDialog) 
	//{{AFX_MSG_MAP(CProtFilePropDlg) 
		// NOTE: the ClassWizard will add message map macros here 
	//}}AFX_MSG_MAP 
END_MESSAGE_MAP() 
 
///////////////////////////////////////////////////////////////////////////// 
// CProtFilePropDlg message handlers