OS4 DepotLogo by mason 
(anonymous IP: 3.144.17.45,2193) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (596)
   o Document (22)
   o Driver (97)
   o Emulation (147)
   o Game (1004)
   o Graphics (497)
   o Library (115)
   o Network (232)
   o Office (66)
   o Utility (923)
   o Video (69)

Total files: 4365

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: 263  (Current version)
310  (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