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

📄 inputedit.cpp

📁 cell phone source code
💻 CPP
字号:
// InputEdit.cpp : implementation file
//

#include "stdafx.h"
#include "AtlasMgr2.h"
#include "InputEdit.h"
#include "AtlasUsbMsg.h"

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

/////////////////////////////////////////////////////////////////////////////
// CInputEdit

CInputEdit::CInputEdit()
{
	m_hParent = NULL;
}

CInputEdit::~CInputEdit()
{
}


BEGIN_MESSAGE_MAP(CInputEdit, CEdit)
	//{{AFX_MSG_MAP(CInputEdit)
	ON_WM_CHAR()
	ON_WM_CONTEXTMENU()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CInputEdit message handlers

void CInputEdit::OnChar(UINT nChar, UINT nRepCnt, UINT nFlags) 
{
	// TODO: Add your message handler code here and/or call default
	if(nChar == VK_RETURN)
	{
		if(m_hParent != NULL)
			::PostMessage(m_hParent, WM_ATLAS_DBG_IN_MESSAGE, (WPARAM)0, (LPARAM)0);
	}
	CEdit::OnChar(nChar, nRepCnt, nFlags);
}

void CInputEdit::SetParent(HWND hParent)
{
	m_hParent = hParent;
}

⌨️ 快捷键说明

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