简体   繁体   English

以编程方式查找窗口的键盘快捷键

[英]find out the keyboard shortcuts of a window programmatically

is there a way to find out what keys is a window listening for (preferably Windows)? 有没有办法找出一个窗口正在监听什么键(最好是Windows)?

or at least the menu Alt-keys? 或至少菜单Alt键?

I doubt it. 我对此表示怀疑。 Each function participating in the window message handling can choose to ignore the message or to execute some code. 参与窗口消息处理的每个函数都可以选择忽略该消息或执行某些代码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM