Windows 7 中缺少右键菜单

发布于 2024-08-25 03:05:36 字数 509 浏览 8 评论 0原文

我们有几个不同的程序都在同一个套件中编译在一起,最近我们报告了一个错误,“右键单击快捷菜单丢失。”
因此,与任何错误一样,我尝试重现它但无法重现。无论我做什么,右键菜单都会出现在我的系统上。

我的第一个猜测是这是操作系统问题。我们知道它可以在 Vista 和 XP 上运行,但在 Windows 7 上则不行。不幸的是,这个问题只影响套件中的一个程序,而且似乎只影响这一台机器。据我所知,我们没有编写任何代码来允许或阻止默认菜单的出现,所以我不确定为什么它只影响一个程序。

出现问题的机器是运行 Windows 7 的 32 位机器。还有一个与区域设置有关的问题(我们注意到向后的日期格式,即使操作系统认为它是英国,但它一直显示 MM/DD/YYYY 格式,但这在将区域设置更改为其他设置并再次返回时已修复)。这并没有解决问题。

除了编写新的上下文弹出窗口之外,有人知道我如何开始诊断这个问题吗?是否有一个 API 可以调用来弹出默认菜单,以便我可以监控其行为?我可以拦截一些 Windows 消息并检查其是否按预期运行?

We have a few different programs all compiled together in the same suite, recently we had a bug reported that "The Right Click Shortcut Menu was missing."
So as with any bug I tried to reproduce it and couldn't. No matter what I did the right click menu appeared on my system.

My first guess was that this was an OS issue. We know it works on Vista and XP, but on Windows 7 it doesn't. Unfortunately this issue only affects one of the programs in the suite and seemingly only on this one machine. AFAIK there isn't any code we've written to allow or prevent the default menu appearing so I'm not sure why it only affects one program.

The machine with the issue is a 32-bit machine running Windows 7. There was another issue to do with the regional settings (we have noticed backwards date formats even though the OS thinks it's UK it had been displaying MM/DD/YYYY format, but this was fixed when changing the regional settings to something else and back again). This did not resolve the issue.

Besides writing a new context pop-up, does anyone have any idea how I would even start to diagnose this issue? Is there an API I can call to pop-up the default menu so I can monitor its behaviour? some windows message I can intercept the check its all running as it should be?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文