⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 macedit.cpp

📁 基于短消息的移动通信场强信号检测管理软件,软件基于PC,用于与嵌入式信号接收板通信
💻 CPP
字号:
// MacEdit.cpp : implementation file
//

#include "stdafx.h"
#include "sendpkt.h"
#include "MacEdit.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CMacEdit

CMacEdit::CMacEdit()
{
}

CMacEdit::~CMacEdit()
{
}


BEGIN_MESSAGE_MAP(CMacEdit, CEdit)
	//{{AFX_MSG_MAP(CMacEdit)
	ON_WM_CANCELMODE()
	ON_WM_CHAR()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CMacEdit message handlers

void CMacEdit::OnCancelMode() 
{
	CEdit::OnCancelMode();
	
	// TODO: Add your message handler code here
	
}








void CMacEdit::OnChar(UINT nChar, UINT nRepCnt, UINT nFlags) 
{
	// TODO: Add your message handler code here and/or call default
	if(nChar>='a'&&nChar<='f')
	{
		nChar-=32;
		SendMessage(WM_CHAR,(WPARAM)nChar,(LPARAM)(nRepCnt|nFlags));
		return;
	}

	if((nChar>='0'&&nChar<='9')||(nChar>='A'&&nChar<='F')||nChar==VK_BACK)
		CEdit::OnChar(nChar, nRepCnt, nFlags);
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -