📄 dlginquiry.cpp
字号:
// DlgInquiry.cpp : implementation file
//
#include "stdafx.h"
#include "jiasg.h"
#include "DlgInquiry.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgInquiry dialog
CDlgInquiry::CDlgInquiry(CWnd* pParent /*=NULL*/)
: CDialog(CDlgInquiry::IDD, pParent)
{
//{{AFX_DATA_INIT(CDlgInquiry)
m_edit_inquiry = _T("");
m_edit_select = -1;
//}}AFX_DATA_INIT
}
void CDlgInquiry::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgInquiry)
DDX_Control(pDX, IDC_EDIT_INQUIRY, m_ctr_inquiry);
DDX_Text(pDX, IDC_EDIT_INQUIRY, m_edit_inquiry);
DDX_Radio(pDX, IDC_RADIO1, m_edit_select);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgInquiry, CDialog)
//{{AFX_MSG_MAP(CDlgInquiry)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlgInquiry message handlers
BOOL CDlgInquiry::OnInitDialog()
{
CDialog::OnInitDialog();
// TODO: Add extra initialization here
CheckRadioButton(IDC_RADIO1,IDC_RADIO2,IDC_RADIO1);
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
BOOL CDlgInquiry::OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message)
{
// TODO: Add your message handler code here and/or call default
m_ctr_inquiry.SetFocus();
return CDialog::OnSetCursor(pWnd, nHitTest, message);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -