Changing window styles at runtime possible?
BlitzMax Forums/MaxGUI Module/Changing window styles at runtime possible?
| ||
Is it possible to change window styles at runtime using MaxGUI? For example, lets say that I create a bordered window. Half way through my game I want to change to a borderless window. Is this possible without shutting and reopening my window? Thanks for any help, Jason. |
| ||
I don't think the OS supports that (any of them?)... Usually you need to close and re-open. The other way would be to draw your own window decoration... |
| ||
You could use the Windows API SetWindowLong and UpdateWindow to change the styles without having to close and reopen the winodw. Not sure what a cross platform solution would be. Tony. |
| ||
So if I have a user half way through their game and they want to switch to a full screen mode how would I tackle this so that the player can carry on from the same point in the game? By shutting the window and reopening a new mode everything will be reset wont it? Jason. |