OS4 DepotLogo by Alkaron 
(anonymous IP: 54.80.60.91,1132) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 
 Categories

   o Audio (328)
   o Datatype (47)
   o Demo (180)
   o Development (528)
   o Document (21)
   o Driver (87)
   o Emulation (141)
   o Game (853)
   o Graphics (456)
   o Library (88)
   o Network (200)
   o Office (56)
   o Utility (804)
   o Video (60)

Total files: 3849

Full index file. Download
Recent index file. Download




 Links

  Amigans.net
  OpenAmiga
  Aminet
  IntuitionBase


Support the site


 Readme for:  Utility » Misc » betterclosescreen.lha

Betterclosescreen

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 11
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
Downloads: 202  (Current version)
249  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots 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 (c) 2004-2017 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment