Advertisement

Full screen and relocation of windows

Started by July 10, 2002 09:31 PM
1 comment, last by zunino 22 years, 7 months ago
Hello. I am learning OpenGL with, among other things, the tutorials from NeHe. I have got everything under control, except for one thing that is annoying me: if I run my applications in full screen mode, all the other open applications will have their windows relocated (they are actually flushed to the bottom-right corner). How can I prevent that from happening? I do not think it is nice for an application to mess up with the others. My OS is Windows XP Professional, FWIW. Thank you, Ney André de Mello Zunino
--Ney André de Mello Zunino
Hmmmm... AFAIK there is no easy workaround for the problem you are eXPeriencing... I''m guessing that when you resize your desktop XP moves all the windows around etc to optimise your viewing eXPerience...

If it''s -really- bugging you that much, I advise you to simply enumerate all the active windows (Did M$ ever get around to documenting enumWindows??), and store their positions. Then when your game shuts down to restore their positions.

BTW the solution posed here is entirely 100% untested.


Advertisement
quote:
Original post by TheGilb
Hmmmm... AFAIK there is no easy workaround for the problem you are eXPeriencing... I''m guessing that when you resize your desktop XP moves all the windows around etc to optimise your viewing eXPerience...


I suppose you mean this is a widespread problem. Well, at least it tells me that it is not being caused by something that I am doing wrong.

quote:
If it''s -really- bugging you that much, I advise you to simply enumerate all the active windows (Did M$ ever get around to documenting enumWindows??), and store their positions. Then when your game shuts down to restore their positions.


Thanks for the idea. It should work, though I would rather find a solution that did not require me to manually "fix" the other windows. In other words, the ideal solution should *prevent* the problem instead of *fixing* it. I will try to find out more about this and post any findings here, so others can benefit.

Regards,

--
Ney André de Mello Zunino.
--Ney André de Mello Zunino

This topic is closed to new replies.

Advertisement