开发者

"Use windows xp style dpi scaling" disables automatic auto-hide of taskbar on W7. Workaround?

开发者 https://www.devze.com 2022-12-10 22:25 出处:网络
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 ma

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 p开发者_如何学编程ossibly 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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消