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.
The noticing will continue
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

Possibly Related Threads…
Thread Author Replies Views Last Post
  Enlarging window for older BAS programs (ie. Screen 7 mode) paulel 5 422 12-24-2025, 09:36 PM
Last Post: paulel
  auto-detecting screen resolution for optimal window size on non-Windows systems madscijr 11 1,085 11-10-2025, 07:23 PM
Last Post: madscijr
  is there any way to position the inputbox$ window? madscijr 21 1,691 11-06-2025, 09:54 PM
Last Post: madscijr
  auto-detecting screen resolution for optimal window size on non-Windows systems madscijr 0 227 10-26-2025, 06:58 PM
Last Post: madscijr
  Play wav file in the background without a window on the forground Rudy M 12 1,168 09-18-2025, 07:08 PM
Last Post: Pete

Forum Jump:


Users browsing this thread: 1 Guest(s)