📄 dialogfilter.cpp
字号:
// DialogFilter.cpp : implementation file
//
#include "stdafx.h"
#include "mytest.h"
#include "DialogFilter.h"
//#include "mytestview.h"
#include "mytestset.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDialogFilter dialog
CDialogFilter::CDialogFilter(CWnd* pParent /*=NULL*/)
: CDialog(CDialogFilter::IDD, pParent)
{
//{{AFX_DATA_INIT(CDialogFilter)
m_pSet = NULL;
m_filter_value = _T("");
//}}AFX_DATA_INIT
}
void CDialogFilter::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDialogFilter)
DDX_Text(pDX, IDC_EDIT_FILTER_THIS, m_filter_value);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDialogFilter, CDialog)
//{{AFX_MSG_MAP(CDialogFilter)
ON_BN_CLICKED(IDC_RADIO_SEX, OnRadioSex)
ON_BN_CLICKED(IDC_RADIO_NAME, OnRadioName)
ON_BN_CLICKED(IDC_RADIO_PARTY, OnRadioParty)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDialogFilter message handlers
void CDialogFilter::OnOK()
{
// TODO: Add extra validation here
CDialog::OnOK();
}
void CDialogFilter::OnRadioSex()
{
// TODO: Add your control notification handler code here
Radio = "Sex";
}
void CDialogFilter::OnRadioName()
{
// TODO: Add your control notification handler code here
Radio = "Name";
}
void CDialogFilter::OnRadioParty()
{
// TODO: Add your control notification handler code here
Radio = "Party";
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -