• Advertisement
Sign in to follow this  

[SOLVED] WinXP themes and ChangeDisplaySettings()

This topic is 4832 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