📄 regrulepage.cpp
字号:
// RegRulePage.cpp : implementation file
//
#include "stdafx.h"
#include "AcquireKlg.h"
#include "AcquireKlgDoc.h"
#include "MainFrm.h"
#include "RuleDefineView.h"
#include "Global.h"
#include <math.h>
#include "RegRulePage.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CRegRulePage dialog
CRegRulePage::CRegRulePage(CWnd* pParent /*=NULL*/)
: CDialog(CRegRulePage::IDD, pParent)
{
//{{AFX_DATA_INIT(CRegRulePage)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CRegRulePage::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CRegRulePage)
DDX_Control(pDX, IDC_COMBO_outnode, m_combo_outnode);
DDX_Control(pDX, IDC_EDIT_REGRULE, m_cRegRule);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CRegRulePage, CDialog)
//{{AFX_MSG_MAP(CRegRulePage)
ON_EN_KILLFOCUS(IDC_EDIT_REGRULE, OnKillfocusEditRegrule)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CRegRulePage message handlers
BOOL CRegRulePage::OnInitDialog()
{
CDialog::OnInitDialog();
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
void CRegRulePage::OnKillfocusEditRegrule()
{
//AfxMessageBox("hello");
}
void CRegRulePage::SelectRegEdit(){
m_cRegRule.SetFocus();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -