OS4 DepotLogo by McFly 
(anonymous IP:,2219) 

   Bug tracker
   Locale browser


   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (600)
   o Document (22)
   o Driver (97)
   o Emulation (148)
   o Game (1005)
   o Graphics (499)
   o Library (116)
   o Network (233)
   o Office (66)
   o Utility (927)
   o Video (69)

Total files: 4379

Full index file
Recent index file



Support the site

 Readme for:  Utility » Misc » betterclosescreen.lha


Description: Ensures that public screens always get closed
Download: betterclosescreen.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 65kb
Version: r3
Date: 04 Jul 2011
Author: Chris Handley
Submitter: Chris Handley
Category: utility/misc
Replaces: utility/misc/betterclosescreen.lha
License: Public domain
Distribute: yes
Min OS Version: 4.0
FileID: 6493
Comments: 8
Snapshots: 0
Videos: 0
Downloads: 271  (Current version)
318  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
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 © 2004-2024 by Björn Hagström All Rights Reserved