“使用 Windows XP 风格 dpi 缩放”禁用 W7 上任务栏的自动隐藏。解决方法?
我们注意到,在 W7 上,DPI 设置为 > 125% 或到> 100% 关闭(“使用 Windows XP 风格 dpi 缩放”)后,我们的全屏模式(将窗口的客户端矩形设置为主显示器的桌面矩形)不再像其他设置那样隐藏任务栏。
(单击“设置自定义文本大小 (DPI)”链接后,可以在“控制面板\外观和个性化\显示”部分中找到该设置)
我发现了以下有趣的文章: http://www.mathies.com/weblog/?p=908
所以我开始尝试以其他方式解决该错误,而不是手动隐藏/恢复任务栏可见性,但到目前为止我失败了,目前认为这是 W7(也可能是 vista)中的错误。
以下应用程序也无法在全屏模式下正常工作(任务栏仍然可见): * 微软视觉工作室 2008 * 微软Word 2007 * Adobe Reader 9.1.3
这些应用程序可以工作(可能是通过 WIN32 API 隐藏任务栏): * Powerpoint 幻灯片放映
我还尝试创建一个全新的基于 MFC 的应用程序并使用其“SetFullScreenMode()”功能,但它与列表中的所有其他应用程序一样失败。
We noticed that on W7 with DPI set to > 125% or to > 100% with ("Use windows xp style dpi scaling") turned off, our fullscreen mode (which sets the client rect of our window = desktop rect of the main monitor) no longer hides the task bar like it does for other settings.
(The setting can be found in the Control Panel\Appearance and Personalization\Display section after clicking on the "Set custom text size (DPI)" link)
I found the following interesting article:
http://www.mathies.com/weblog/?p=908
So I set out to try to work around the bug in other means than manually hiding/restoring the taskbar visibility but so far I've failed and currently believe it's a bug in W7 (and possibly vista).
The following applications also fail to work properly in fullscreen mode (the taskbar is still visible):
* Microsoft Visual Studio 2008
* Microsoft Word 2007
* Adobe Reader 9.1.3
These apps work (probably by hiding the task bar through the WIN32 API):
* Powerpoint Slide Show
I also tried creating a brand new MFC-based app and use its "SetFullScreenMode()" functionality but it fails in the same way as all other apps on the list.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
目前,对我来说唯一有效的临时修复似乎是在使用全屏的程序的高 DPI 设置上禁用显示缩放。
要执行此操作,请转到属性(右键单击程序的快捷方式)>>兼容性>>并选中在高 DPI 设置下禁用显示缩放的选项。
唯一的缺点是您不会获得该程序的更高 DPI,但启用全屏时任务栏应该隐藏。
据我了解,Windows 7 开发人员已经意识到这个问题,但尚未提出解决方案。
For now it seems the only temporary fix which has worked for me is to disable display scaling on high DPI settings for the program your using fullscreen with.
To do this goto properties (right-click the program's shortcut) >> compatability >> and check the option to disable display scaling on high DPI settings.
The only drawback is that you will not get the higher DPI for that program but the taskbar should hide when fullscreen is enabled.
This is a problem that I understand Windows 7 developers are aware of but have not come out with a solution.