求VC中将virtual key(虚拟键盘码)转化为字符的函数,
我只取得了其虚拟键盘码,想把它转化为字符,无奈MSDN太大,无从找起
还望哪位大侠指点,感激不尽!!!
我只取得了其虚拟键盘码,想把它转化为字符,无奈MSDN太大,无从找起
还望哪位大侠指点,感激不尽!!!
解决方案 »
- 请问两线程同时操作一个变量会不会引起冲突?
- 加载一24位图后将其数据改成灰度数据(其他相关的也改了),怎么直接显示在static控件上
- 如何提取网页中的校验码图片?谢谢,分不够在加
- 为何缺省值的定义无效?
- 在VC中如何取得屏幕上的字体的宽度
- 10只分求一句话
- Debug 版的 Dll 可以用,Release 版的 dll 不能用,那位能说出一些可能的原因
- 怎么在CEditView中改变字体,颜色
- 求助:我这个函数(消息处理函数)需要返回值吗?
- 给高分!VC中的工程依赖的用途是什么?在什么情况下需要设置工程依赖!
- 在Visual Studio .NET中如何编译CPP文件
- 谁有一份完整的软件开发文档?
UINT MapVirtualKey(
UINT uCode, // virtual-key code or scan code
UINT uMapType // translation to perform
MapVirtualKey(0x40,2) 表示从Virtual->char2 uCode is a virtual-key code and is translated into an unshifted character value in the low-order word of the return value. Dead keys (diacritics) are indicated by setting the top bit of the return value. If there is no translation, the function returns 0.