📄 optionsdlg.cpp
字号:
// OptionsDlg.cpp : implementation file
//
#include "stdafx.h"
#include "fshed.h"
#include "OptionsDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDispPage property page
IMPLEMENT_DYNCREATE(CDispPage, CPropertyPage)
CDispPage::CDispPage() : CPropertyPage(CDispPage::IDD)
{
//{{AFX_DATA_INIT(CDispPage)
m_nAnsi = 0;
m_nFontSize = 0;
m_nIntel = 0;
m_nSigned = 0;
//}}AFX_DATA_INIT
}
CDispPage::~CDispPage()
{
}
void CDispPage::DoDataExchange(CDataExchange* pDX)
{
CPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDispPage)
DDX_Radio(pDX, IDC_ANSI_RB, m_nAnsi);
DDX_Text(pDX, IDC_FONT_SIZE_ED, m_nFontSize);
DDV_MinMaxInt(pDX, m_nFontSize, 4, 100);
DDX_Radio(pDX, IDC_INTEL_RB, m_nIntel);
DDX_Radio(pDX, IDC_SIGNED_RB, m_nSigned);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDispPage, CPropertyPage)
//{{AFX_MSG_MAP(CDispPage)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDispPage message handlers
/////////////////////////////////////////////////////////////////////////////
// CGenPage property page
IMPLEMENT_DYNCREATE(CGenPage, CPropertyPage)
CGenPage::CGenPage() : CPropertyPage(CGenPage::IDD)
{
//{{AFX_DATA_INIT(CGenPage)
m_bAdjustBytes = FALSE;
m_strIntBrowser = _T("");
m_nNumBytes = 0;
m_nOffsetLen = 0;
m_bSetRead = FALSE;
m_strTextEditor = _T("");
//}}AFX_DATA_INIT
}
CGenPage::~CGenPage()
{
}
void CGenPage::DoDataExchange(CDataExchange* pDX)
{
CPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CGenPage)
DDX_Check(pDX, IDC_ADJ_BYTES_CHK, m_bAdjustBytes);
DDX_Text(pDX, IDC_BROWSER_ED, m_strIntBrowser);
DDX_Text(pDX, IDC_NUM_BYTES_ED, m_nNumBytes);
DDV_MinMaxInt(pDX, m_nNumBytes, 0, 100);
DDX_Text(pDX, IDC_OFFSET_LEN_ED, m_nOffsetLen);
DDV_MinMaxInt(pDX, m_nOffsetLen, 1, 9);
DDX_Check(pDX, IDC_SET_READ_ONLY_CHK, m_bSetRead);
DDX_Text(pDX, IDC_TEXT_ED, m_strTextEditor);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CGenPage, CPropertyPage)
//{{AFX_MSG_MAP(CGenPage)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CGenPage message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -