OS4 DepotLogo by Alkaron 
(anonymous IP: 3.133.138.129,2258) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (602)
   o Document (24)
   o Driver (97)
   o Emulation (148)
   o Game (1011)
   o Graphics (500)
   o Library (118)
   o Network (234)
   o Office (66)
   o Utility (932)
   o Video (69)

Total files: 4398

Full index file
Recent index file

 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 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: 274  (Current version)
321  (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