Windows 窗体中的菜单快捷方式和 MDI
在我将应用程序修改为 MDI 应用程序(主窗体成为 MDI 容器)后,在原始窗体的主菜单中指定的所有快捷方式都不再起作用。我该怎么做才能再次“打开它们”?
After I modified my application to the MDI application (main form became an MDI container), all of the shortcuts, which were specified int the main menu of the original form, are no longer works. What can I do in order to "turn them on" again?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
唯一想到的是您需要设置 mdiparent 属性。当您切换主表单时,您可能会错过这一点。
The only thing that comes to mind is that you need to set the mdiparent property of any child form before you show it. You could have missed this when you switched the main form over.