键盘事件中IParam信息的含义是什么?
如题! 问题点数:100、回复次数:2Top
1 楼highersong(对月长啸)回复于 2003-08-02 11:22:17 得分 90
The WM_KEYDOWN message is posted to the window with the keyboard focus when a nonsystem key is pressed. A nonsystem key is a key that is pressed when the ALT key is not pressed.
A window receives this message through its WindowProc function
wParam :Specifies the virtual-key code of the nonsystem key.
lParam :Specifies the repeat count, scan code, extended-key flag, context code, previous key-state flag, and transition-state flagTop
2 楼nonocast(如果没有如果)回复于 2003-08-02 12:12:07 得分 10
键盘相应的虚拟码
F1对应VK_F1
当然VK_F1是定义好的一个值Top



