WinForms - 如何调用窗口文档上下文菜单
在每个 Windows 应用程序上都有一个上下文菜单,您可以使用 CTRL+空格键访问:
我相信这个菜单称为“窗口控制菜单”,但我不确定。
它有以下选项:
恢复
移动
尺寸
最小化
最大化
关闭 Alt+F4
这是一张图片:
如何使用 win 表单调用它?我的目标是通过按 alt+空格键提供此菜单的键盘快捷键,
谢谢。
On every windows app there is that context menu that you can access with CTRL+Space bar:
I believe this menu is called the "Window Control Menu", but I am not sure.
It has the following options:
Restore
Move
Size
Minimize
Maximize
Close Alt+F4
Here is a pic:
How can I call this using win forms? My goal is to provide a keyboard shortcut to this menu by hitting alt+spacebar
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
向您自己的窗口发送消息,以便出现系统菜单。
Send a message to your own window so that the system menu appears.