Windowed Fullscreen Mode
by Santosh Pillai · in Technical Issues · 07/10/2008 (11:34 pm) · 6 replies
How do I enable fullscreen mode, but the application being still windowed? I need the application to be windowed but occupy the full screen? Also, how do I set the Maximize, Reset buttons of the application?
#3
07/11/2008 (4:09 am)
Oops... I realized u have done this for TGEA... Can u let me know the fix for TGE.... I am using TGE 1.5.2... Sorry for not writing this earlier
#4
07/11/2008 (2:03 pm)
Tsk tsk--Torque source code in an open forum :(
#5
07/12/2008 (6:41 am)
Ooops... sorry. Didn't notice. Removed the snippets.
#6
Create a thread in the Private TGE forum and I'll post the code you need.
07/12/2008 (2:23 pm)
Generally speaking, using a WS_MAXIMIZEBOX window style will add the maximize/restore button to the title bar. You'd also need to add WM_SIZE to WindowProc so the rendering canvas can grab the new size, otherwise you'd have a bigger window with the the content in the bottom corner :)Create a thread in the Private TGE forum and I'll post the code you need.
Associate Rene Damm
I just assume, you're talking about TGEA. If that's the case, you can't do it without an engine modification (minimize is there, but maximize isn't). Here goes...
//EDIT: code removed