🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.acorn.tech
Article #29

Re: Closing iconised windows

#29
From: Jonathan Marten
Date: Sat, 31 Oct 1992 08:38
18 lines
1241 bytes
Stephen Mansfield (srm2@ukc.ac.uk) writes:
 
  sr> How does my application remove its window from the pin board after 
  sr> a user has iconised it?  Currently I do a straight Wimp_CloseWindow
  sr> which does not take into account the fact that the window may be
  sr> iconised (ie its a RISC OS 2 application currently in the process
 
In RiscOS 3, closing a window causes the Wimp to broadcast a message giving 
the window handle.  Pinboard picks this up and, if the window is currently 
iconised, it removes the icon.  The application does not need to be 
specially coded to handle this.
 
I assume this is why the latest guidelines say that your application should 
explicitly close all of its windows when exiting, rather than relying on the 
Wimp to tidy up.
 
-- JJM --   Using ReaderS with thread following
            Real world: Where students don't live
Technical Details
Message-ID: <memo.720916@cix.compulink.co.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!demon!cix.compulink.co.uk!jmarten

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!demon!cix.compulink.co.uk!jmarten
Newsgroups: comp.sys.acorn.tech
From: jmarten@cix.compulink.co.uk (Jonathan Marten)
Subject: Re: Closing iconised windows 
Reply-To: jmarten@cix.compulink.co.uk
Date: Sat, 31 Oct 1992 08:38:00 +0000
Message-ID: <memo.720916@cix.compulink.co.uk>
Sender: usenet@gate.demon.co.uk
Lines: 19