我怎么确定某个字符 char ch; 对应着键盘上的哪个键? ch 与 键的 VK_CODE之间怎么对应?
因为我要通过 key_event来将这个字符输出来!
因为我要通过 key_event来将这个字符输出来!
解决方案 »
- 帮忙
- 读写xml文件的一个问题
- static text控件的在多线程情况下使用问题。。。
- 突然想玩弄一下瑞星杀毒软件
- (要分的来我有的是)怎么样VC.net里添加C C o m m a n d L i n e I n f o 类的派生类?(在线等待)
- ODBC中DFX_Text 能交换的字符串的最大长度为255B, 大于此的要用DFX_Text_Bulk?
- 高分求教:SkinMagic 在vc中如何使用?
- 有谁记得取得系统字体列表是哪一个函数 一时找不到 等用 请大家帮忙一下 THANKS!
- API Hook 技术肯定吸引你,钩住任何 API 函数(包括 win32 api 和 socket 函数等)
- 没有人会吗?
- vc下面怎么调试服务程序??
- 求助!!!在用视频采集卡自带的SDK函数用VC编写一个实现图像预览和抓取单幅图像的程序时,发生如下的错误!!
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/userinput/virtualkeycodes.asp
上面URL中MSDN给出了所有按键的ASCII码。
Used for miscellaneous characters; it can vary by keyboard.
Windows 2000/XP: For the US standard keyboard, the '[{' key
VK_OEM_5 (DC)
Used for miscellaneous characters; it can vary by keyboard.
Windows 2000/XP: For the US standard keyboard, the '\|' key
VK_OEM_6 (DD)
Used for miscellaneous characters; it can vary by keyboard.
Windows 2000/XP: For the US standard keyboard, the ']}' key
------------------------------------------------------------------------------------
微软的Visual Studio开发平台中是一样的,其他语言平台没接触过,只能保证ASCII码在127以下是一样的,其他的自己试试吧。