Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cbmvax!bpa!sjuvax!ryan From: ryan@sjuvax.UUCP (P. Ryan) Newsgroups: comp.windows.x Subject: event queue (close) Keywords: when? Message-ID: <2136@sjuvax.UUCP> Date: 13 Jul 89 13:00:06 GMT Distribution: na Organization: St. Joseph's University, Phila. PA. Lines: 29 being new to the world of windows programming, i am having some difficulty figuring out how to manipulate the events queues to my advantage. i have a program that calls a number of window at various times. because memory is a little tight on the particular machine i'm working on, i limit the number of windows that the program can have active at once. my question is this: if the user closes one of the program's windows with the mouse (i.e. clicks on the 'Close' option of the window's menu), what, if any, signal is generated? i am trying to manage the program's resources and i can't figure out how to get the program to realize that a window has been closed and the memory the window used can be reallocated. thanks, pat p.s. please mail responses. danke. /patrick/ryan /nasa/ goddard space flight center /crustal dynamics project /mail code 626.9, greenbelt, maryland 20770, usa /net pmr@bootes.gsfc.nasa.gov, pmr@gemini.gsfc.nasa.gov -- /patrick/ryan st. joseph's university, philadelphia, pennsylvania uucp { bpa | burdvax | drexel | princeton} !sjuvax!ryan arpa/cs/bitnet ryan@sjuvax.sju.edu, ryan%sjuvax.sju.edu@relay.cs.net