protfilepropdlg.cpp

来自「文件加密的过滤驱动程序源代码.」· C++ 代码 · 共 54 行

CPP
54
字号
// 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

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?