[futurebasic] Closing Windows

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : December 2003 : Group Archive : Group : All Groups

From: Barrie <barrie@...>
Date: Mon, 15 Dec 2003 20:29:35 -0500
In OS 9.2 I have an unknown number of windows open and want to close all of
them except two specific windows. I can close them all with the following.
WHILE WINDOW(_activeWnd)
WINDOW CLOSE (WINDOW(_activeWnd))
WEND
I believe this works because when one window closes another becomes active.
Is there any way I can find which windows are open (active and non active)
then close all but two required windows.
Thanks
Barrie