📄 readonlyedit.cpp
字号:
// ReadOnlyEdit.cpp : implementation file
//
#include "stdafx.h"
#include "Calend_CE.h"
#include "ReadOnlyEdit.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CReadOnlyEdit
CReadOnlyEdit::CReadOnlyEdit()
{
}
CReadOnlyEdit::~CReadOnlyEdit()
{
}
BEGIN_MESSAGE_MAP(CReadOnlyEdit, CEdit)
//{{AFX_MSG_MAP(CReadOnlyEdit)
ON_WM_CHAR()
ON_WM_KEYDOWN()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CReadOnlyEdit message handlers
void CReadOnlyEdit::OnChar(UINT nChar, UINT nRepCnt, UINT nFlags)
{
// TODO: Add your message handler code here and/or call default
// CEdit::OnChar(nChar, nRepCnt, nFlags);
}
void CReadOnlyEdit::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags)
{
// TODO: Add your message handler code here and/or call default
// CEdit::OnKeyDown(nChar, nRepCnt, nFlags);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -