更新时间:2023-12-02 23:40:52
Hi Mulligan81,
Hi Mulligan81,
实际上它不是VS IDE使用问题,它与键盘和鼠标输入有关。
Actually it would be not the VS IDE usage issue, it would be related to the Keyboard and Mouse Input.
赞以下文档分享了有用的信息:
Like the following document which shared useful information:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms646287(v = vs.85).aspx
DefWindowProc 功能发送
WM_SYSCOMMAND 消息。邮件的
wParam 参数设置为SC_KEYMENU。
当上下文代码为零时,邮件可以传递给
TranslateAccelerator 功能,处理它就好像它是普通的密钥消息而不是字符密钥消息。这允许
加速键与活动窗口一起使用,即使活动窗口没有键盘焦点也是如此。
***的问候,
杰克