BlueScreen Posted June 29, 2004 Share Posted June 29, 2004 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 Link to comment Share on other sites More sharing options...
Sachin Posted June 29, 2004 Share Posted June 29, 2004 You can block users input by using BlockInput (1) function. Link to comment Share on other sites More sharing options...
BlueScreen Posted June 29, 2004 Author Share Posted June 29, 2004 Thought about it/ Impossible. I need the user to work with the PC but prevent him clicking on the X (for closing the window) Link to comment Share on other sites More sharing options...
Proof Posted June 29, 2004 Share Posted June 29, 2004 (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 June 29, 2004 by Proof Link to comment Share on other sites More sharing options...
BlueScreen Posted June 29, 2004 Author Share Posted June 29, 2004 10x, Proof. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now