例如。
发送消息(hwnd,WM_KEYDOWN,VK_DELETE,1)
设置最后一个参数1,是什么意思?设置为NULL或其他数字有什么区别?
最佳答案
作者:mdsn ,最后的 lParam 存储:
The repeat count, scan code, extended-key flag, context code, previous key-state flag, and transition-state flag, as shown following.
Bits (0-15) Meaning:
The repeat count for the current message. The value is the number of times the keystroke is autorepeated as a result of the user holding down the key. If the keystroke is held long enough, multiple messages are sent. However, the repeat count is not cumulative.
关于c++ - 谁能告诉我Windows API方法SendMessage的最后一个参数代表什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42155145/