Ribbon Framework 导致带有 WS_VSCROLL 的窗口在 Windows 7 上出现未对齐的垂直滚动条

发布于 2024-10-13 08:11:15 字数 473 浏览 5 评论 0原文

我一直在尝试找出应用程序中的一个问题,即在 Windows 7 上启用功能区时,使用 WS_VSCROLL 样式创建的窗口最终会出现垂直滚动条未对齐的情况。

我已经在主窗口样式上使用 WS_VSCROLL 构建了 SimpleRibbon SDK 示例,并且它表现出相同的行为。所以它看起来像是一些潜在的问题,而不是我们代码中的问题。

有趣的是,这只发生在运行 Aero Glass 的硬件 Windows 7 机器上。 VM Windows 7 或 Windows 7 计算机上的 RDP 会话不会出现问题!

我在这里上传了一张图片 - 查看窗口的右上角

http://www.house-on-the-hill.com/2010/capture.jpg

任何帮助感谢

JF

I've been trying to track down a problem in our application where a window created with a WS_VSCROLL style ends up with a misaligned vertical scrollbar on Windows 7 when the ribbon is enabled.

I've built the SimpleRibbon SDK sample with WS_VSCROLL on the main window styles and it exhibits the same behaviour. So it looks like some underlying problem rather than something in our code.

Interestingly, this only occurs on a hardware Windows 7 box running Aero Glass. A VM Windows 7 or an RDP session onto the Windows 7 machine does not have the problem!

I've uploaded a picture here - look at the top right corner of the window

http://www.house-on-the-hill.com/2010/capture.jpg

Any help appreciated

JF

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文