RE: OpenAux (view: View; title: Title)

From: Greg Edwards <"Greg>
Date: Mon, 19 Feb 2001 13:34:12 -0800

Hey Doug,

One (awful) way that I do it is to:

        (* Close the window that displays the offsets *)
        win := Windows.dir.First();
        LOOP
                IF win = NIL THEN EXIT END;
                win.GetTitle(title);
                IF title = "Put the origional window title you assigned here" THEN
win.Close(); EXIT END;
                win := Windows.dir.Next(win)
        END;

Granted, you have to know the title of the window. Not pretty, but it works.
-Greg

-----Original Message-----
From: Danforth, Douglas [mailto:DDanforth{([at]})nowhere.xy
Sent: Monday, February 19, 2001 12:25 PM
To: 'blackbox{([at]})nowhere.xy
Subject: OpenAux (view: View; title: Title)


Folks,

What is the proper way to close a window under program control?

Views.OpenAux(view, title) creates a visible instance.
How does one close that instance *without* handling a message?
(One is not permitted to use the mouse to click the window).

(Normally I would expect something like:

frame/handle/document := Views.OpenAux(view, title);
combined with a symmetric call of
Views.CloseAux(frame/handle/document)).

-Doug

---
Douglas G. Danforth, Ph.D. - Research Scientist
QuikCAT.com   6700 Beta Drive,  Suite 200,  Mayfield Village,  OH 44143-2335
danforth{([at]})nowhere.xy--------------------------------------------
To unsubscribe from this mailing list, send a message containing the word
"unsubscribe" to:
   blackbox-request{([at]})nowhere.xyTo get a list of valid e-mail commands and instructions on their usage, send
a message containing the word "help" to the above address.
Send any problem reports or questions related to this email list to the list
owner at
   owner-blackbox{([at]})nowhere.xy--------------------------------------------
To unsubscribe from this mailing list, send a message containing the word "unsubscribe" to:
   blackbox-request{([at]})nowhere.xyTo get a list of valid e-mail commands and instructions on their usage, send a message containing the word "help" to the above address.
Send any problem reports or questions related to this email list to the list owner at
   owner-blackbox{([at]})nowhere.xyß8	'	
Received on Mon Feb 19 2001 - 21:34:12 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:27:44 UTC