CComboBox控件在输入时总是使用大写字母 [英] Does CComboBox control always takes capital letters as we type in it

查看:147
本文介绍了CComboBox控件在输入时总是使用大写字母的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用CComboBox控件。当我在其中输入一些字符并检查输入了哪个字母时(在PreTranslateMessage()中),我总是在其消息的wParam中获得大写字母。我的CComboBox控件没有大写属性TRUE。为什么会发生这种情况?

I am using CComboBox control. When I type some characters in it and check which letter is typed in(in PreTranslateMessage()), then I always get capital letter in its message's wParam. My CComboBox control does not have uppercase property TRUE. Why this is happening?

推荐答案

提示名称为: Pre TranslateMessage 。您获得了相同的虚拟密钥代码,因为您点击了相同的密钥。
The hint is in the name: PreTranslateMessage. You get the same virtual key code, because, well, you hit the same key.


这篇关于CComboBox控件在输入时总是使用大写字母的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆