keybd_event(16, MapVirtualKey(16, 0 ), 0 , 0 );
keybd_event(16, MapVirtualKey(16, 0 ), KEYEVENTF_KEYUP , 0 );
keybd_event(16, MapVirtualKey(16, 0 ), KEYEVENTF_KEYUP , 0 );
解决方案 »
- 求帮忙,为什么我用char[50]给CString赋值会少值?
- 编译出错,系统提示error LNK2001: unresolved external symbol __endthreadex是怎么回事?请大虾指点
- BCG Control Bar 使用
- 关于WinSocket多线程通信问题 请高手看下 附部分源码
- 常量定义求解
- 请问,我想VC工程里,调用ASM文件中我用win32汇编写的函数,请问可以吗?
- 我自己写了一个函数,想在程序启动时自动调用它,可老出错不能自动调用,只有手动执行!
- 请教一个问题,高手请进!(100分)
- ADO的小问题
- !!!!!!!!!!!讨论一下中国的程序员
- 请问有关用install shield 做安装文件的问题!
- 急问!CStatic如何从右到左输出字符?!
The return value specifies the status of the specified virtual key, as follows: If the high-order bit is 1, the key is down; otherwise, it is up.
If the low-order bit is 1, the key is toggled. A key, such as the CAPS LOCK key, is toggled if it is turned on. The key is off and untoggled if the low-order bit is 0. A toggle key's indicator light (if any) on the keyboard will be on when the key is toggled, and off when the key is untoggled.
试试VK_SHIFT
用spy++对比一下