📄 editexpand.cpp
字号:
// EditExpand.cpp : implementation file
//
#include "stdafx.h"
#include "mascdriver.h"
#include "EditExpand.h"
#include "MascdriverDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
extern CMascdriverDlg* pMascDlg;
/////////////////////////////////////////////////////////////////////////////
// CEditExpand
CEditExpand::CEditExpand()
{
}
CEditExpand::~CEditExpand()
{
}
BEGIN_MESSAGE_MAP(CEditExpand, CEdit)
//{{AFX_MSG_MAP(CEditExpand)
ON_WM_CHAR()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CEditExpand message handlers
void CEditExpand::OnChar(UINT nChar, UINT nRepCnt, UINT nFlags)
{
CString str;
str = nChar;
pMascDlg->m_mscomm.SetOutput (COleVariant(str));
CEdit::OnChar(nChar, nRepCnt, nFlags);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -