Ribbon Framework 导致带有 WS_VSCROLL 的窗口在 Windows 7 上出现未对齐的垂直滚动条
我一直在尝试找出应用程序中的一个问题,即在 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论