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

📄 entercombo.cpp

📁 网络游戏龙族服务器端管理工具 rmtool 源代码
💻 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 + -