Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The Window Closer X
#4
When you catch the _EXIT, you can check how they were trying to close it and then use SYSTEM to close. Looking at theĀ Wiki page on _EXIT, the function returns what method the user was using to attemptĀ to close the program. If they pressed the X, you can just ignore it. If you wanted it to close on CTRL + BREAK, like in the example, you could then use SYSTEM when the return value matches.
Tread on those who tread on you

Reply


Messages In This Thread
The Window Closer X - by Ron - 02-08-2023, 06:58 PM
RE: The Window Closer X - by Kernelpanic - 02-08-2023, 07:27 PM
RE: The Window Closer X - by bplus - 02-08-2023, 07:28 PM
RE: The Window Closer X - by Ron - 02-08-2023, 08:34 PM
RE: The Window Closer X - by SpriggsySpriggs - 02-08-2023, 07:40 PM
RE: The Window Closer X - by mnrvovrfc - 02-08-2023, 08:34 PM
RE: The Window Closer X - by Ron - 02-08-2023, 09:26 PM
RE: The Window Closer X - by SMcNeill - 02-08-2023, 09:47 PM



Users browsing this thread: 2 Guest(s)