How to close a window with Subapp Modal enabled?

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hello, I'm new here but messed with Fusion for a long time, sure Im still a newbie but even so. XD

    What I want to know is if its possible to close the game while inside the Subapp in Modal mode. Its very useful to create a pause menu screen, but I can see a lot of players freaking out if they try to close the game clicking on the X button or pressing Alt+F4 and nothing happens.

    I know that you can simply exit the menu and then close the game, but its possible to close the game while inside of it, pressing the X and alt+f4?

  • But then it would close the game by the simple fact of exiting my pause menu. Also it wouldn't enable someone to click the "X/close button" in the window, it is even possible to re-enable it while using modal?

    Even so you gave my the idea of creating a global event where forcibly "alt+f4" will always close the game, thanks. I'm still waiting to know if its possible to re-enable the close button.

  • No, it wouldn't close the game by exiting the pause menu. End Application is how you exit subapps. Use a Global Value, like I said.
    If the user closes the game, you set the global value to 1, and close the subapp.
    In the parent app, once the subapp has finished, you check whether that value is 1, and if so, close the parent app.

    And no, it wouldn't be possible to re-enable the close button. The clicks aren't sent by Windows, because Windows is told to ignore all attempts to click anything in the parent until the child subapp is closed.

    Darkwire Software Lead Programmer (C++ & C#)
    Please login to see this link. | Please login to see this link. | Please login to see this link. | Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!