📄 entercombo.cpp
字号:
// EnterCombo.cpp : implementation file
//
#include "stdafx.h"
#include "rmtool.h"
#include "EnterCombo.h"
#include "CharacterView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CEnterCombo
CEnterCombo::CEnterCombo()
{
}
CEnterCombo::~CEnterCombo()
{
}
BEGIN_MESSAGE_MAP(CEnterCombo, CComboBox)
//{{AFX_MSG_MAP(CEnterCombo)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CEnterCombo message handlers
BOOL CEnterCombo::PreTranslateMessage(MSG* pMsg)
{
// TODO: Add your specialized code here and/or call the base class
if(pMsg->message == WM_KEYDOWN && pMsg->wParam == VK_RETURN)
{
UpdateData();//020725
CCharacterView *pView = (CCharacterView*)GetParent();
::SendMessage(pView->m_hWnd, UM_COMBO_ENTER, 0, 0);
//pView->OnComboEnter();
}
return CComboBox::PreTranslateMessage(pMsg);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -