Brian Posted November 15, 2011 Share Posted November 15, 2011 Hello, Following this tutorial (thanks macklebee) : http://www.leadwerks.com/werkspace/page/Documentation/LE2/tutorials/_/programming/bmx/applications-with-maxgui-and-le-r44 How can I make it switch from the windowed mode to fullscreen and vice-versa ? In the repeat, if I use if KeyHit(KEY_SPACE) Graphics (800,600,32) End If it crashes at the fw.render Thanks Quote Link to comment Share on other sites More sharing options...
Richard Simpson Posted November 15, 2011 Share Posted November 15, 2011 Have you tried using alt+enter when your app is running? Not sure if that works though without some type of code. It's worth a try though! Quote Intel core 2 quad 6600 | Nvidia Geforce GTX460 1GB | 2GB DDR2 Ram | Windows 7. Google Sketchup | Photoshop | Blender | UU3D | Leadwerks Engine 2.4 Link to comment Share on other sites More sharing options...
macklebee Posted November 15, 2011 Share Posted November 15, 2011 in the example you link to in your post, the graphics context is not by the LE Graphics() command but rather a maxgui canvas on a maxgui window... so you would have to resize the window. the best option then is to set the canvas size as a relationship to whatever the size the window is currently... if you search the Blitz forums for 'fullscreen' there are several examples and ways found there to do this with maxgui commands... Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.