OS4Depot.net 20130227_1013
  Home Search Mirrors Contact Info Credits

 Readme data for Root » Utility » Misc » betterclosescreen.lha

Description: Ensures that public screens always get closed
Install: betterclosescreen.lha
Size: 65kb 5
Version: r3
Date: 04 Jul 11
Author: Chris Handley
Submitter: Chris Handley
Category: utility/misc
License: Public domain
Distribute: yes
Min OS Version: 4.0
This is a little Shell program which patches CloseScreen() so that it can never
fail for public screens.  If closing would fail (usually due to a foreign
'visitor' window) then it waits one second & tries again, until it succeeds.

I wrote this patch because Ringhio notifications (e.g.  from TuneNet) seem to
prevent most Amiga programs from closing their screen (including all MUI ones!),
because they wrongly assume the screen closed correctly.


Changes for this release:

* Programs using CloseScreen(NULL) will no-longer crash.  Thanks to Chris Young
for the bug report.
* Quitting with Ctrl-C will now abort any CloseScreen() calls that have gotten
stuck waiting for the screen to close.
* Refactored the patching code into a separate reusable module. :-)





Copyright (c) 2004-2013 Björn Hagström. All rights reserved.
OS4 and its logos are registered trademarks of Hyperion Entertainment