Jump to content
  • Advertisement
Sign in to follow this  
joanusdmentia

[SOLVED] WinXP themes and ChangeDisplaySettings()

This topic is 5006 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I just noticed a bug in my fullscreen mode switching code. When themes are enabled and I change to fullscreen mode with ChangeDisplaySettings() after creating my window, there's a small curved section in the top left & right corners of the screen that the window doesn't cover. However, if I change the display mode before creating the window all is good. Both work if I turn themes off. I'm guess that turning themes off for the individual window will fix this, how do you do this? Also, is there any other way to fix this? I've got all the borders turned off so themes *shouldn't* be affecting the window's boundaries anyway, should they? [Edited by - joanusdmentia on December 3, 2004 6:28:05 AM]

Share this post


Link to post
Share on other sites
Advertisement
For those interested (not many by the looks of things [smile]), I was able to disable themes by setting a window region with SetWindowRgn(). Setting a NULL region with will re-enable themes.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!