Game Development Community

Options for X button in Window Mode?

by Robert Melais · in Torque Game Builder · 01/18/2009 (11:52 pm) · 1 replies

I cant seem to find anything on how to do it, but I seen other games made with this that did it so maybe someone can help me. I want to either remove the X button to close the window, or to make a Popup, like a Confirm to Quit before it just exits. I made a GUI Interface that works with exit buttons i put in the game, just dont know how to make the X button run it as well. Any ideas would be helpfull :)

#1
01/23/2009 (9:11 am)
This is something that you will need to change in the Windows platform code on the C++ level since that is where it interacts with the OS windowing system.