Windows 7 中缺少右键菜单
我们有几个不同的程序都在同一个套件中编译在一起,最近我们报告了一个错误,“右键单击快捷菜单丢失。”
因此,与任何错误一样,我尝试重现它但无法重现。无论我做什么,右键菜单都会出现在我的系统上。
我的第一个猜测是这是操作系统问题。我们知道它可以在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
下载Delphi 2007 12 月更新来解决此问题
或 andy 上下文菜单弹出延迟错误修复单元
Download Delphi 2007 December updates to fix this problem
or andy Context menu popup delay bug fix unit