📄 showinline.cpp
字号:
// ShowInline.cpp : implementation file
//
#include "stdafx.h"
#include "showsgy.h"
#include "ShowInline.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// ShowInline dialog
ShowInline::ShowInline(CWnd* pParent /*=NULL*/)
: CDialog(ShowInline::IDD, pParent)
{
//{{AFX_DATA_INIT(ShowInline)
m_Inline_Number = 1;
m_Inlinerange = _T("");
//}}AFX_DATA_INIT
}
void ShowInline::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(ShowInline)
DDX_Control(pDX, IDC_EDIT1, m_Control_Line);
DDX_Text(pDX, IDC_EDIT1, m_Inline_Number);
DDX_Text(pDX, IDC_STATIC1, m_Inlinerange);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(ShowInline, CDialog)
//{{AFX_MSG_MAP(ShowInline)
ON_EN_CHANGE(IDC_EDIT1, OnChangeEdit1)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// ShowInline message handlers
void ShowInline::OnChangeEdit1()
{
// TODO: If this is a RICHEDIT control, the control will not
// send this notification unless you override the CDialog::OnInitDialog()
// function and call CRichEditCtrl().SetEventMask()
// with the ENM_CHANGE flag ORed into the mask.
// TODO: Add your control notification handler code here
char ss[200];
m_Control_Line.GetLine(1,ss,200);
m_Inline_Number=atoi(ss);
UpdateData(TRUE);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -