📄 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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -