Sign in to follow this  
Followers 0
BlueScreen

Closing window issues

5 posts in this topic

Hi All,

Is there a way to prevent the user to close a window by clicking on the X sign in the window corner?

Run ("notepad.exe")

;Some code here to prevent closing the window, or at least a notification

10x

Share this post


Link to post
Share on other sites



You can block users input by using BlockInput (1) function.

Share this post


Link to post
Share on other sites

Thought about it/ Impossible.

I need the user to work with the PC but prevent him clicking on the X (for closing the window)

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

[blabla]I guess, user input is either OFF or ON.

Except for silly workarounds (hiding the X behind a SplashText or trying to make an unclosable GUI that passes the input to the other windows) i have no idea.

Maybe you just tell the user, not to close the application :/[/blabla]

Check this topic.

Edited by Proof

Share this post


Link to post
Share on other sites

10x, Proof.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0