dlgstrinput.cpp
来自「一个基于matlab与vc混合编程小例子,对初学者非常有利」· C++ 代码 · 共 45 行
CPP
45 行
// DlgStrInput.cpp : implementation file
//
#include "stdafx.h"
#include "dip.h"
#include "DlgStrInput.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgStrInput dialog
CDlgStrInput::CDlgStrInput(CWnd* pParent /*=NULL*/)
: CDialog(CDlgStrInput::IDD, pParent)
{
//{{AFX_DATA_INIT(CDlgStrInput)
m_strInput = _T("");
//}}AFX_DATA_INIT
}
void CDlgStrInput::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgStrInput)
DDX_Text(pDX, IDC_EDIT_STRINPUT, m_strInput);
DDV_MaxChars(pDX, m_strInput, 100);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgStrInput, CDialog)
//{{AFX_MSG_MAP(CDlgStrInput)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlgStrInput message handlers
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?