Re: [BLACKBOX] Close message?

From: [at]} <CFB>
Date: Thu, 13 Mar 2008 14:53:09 +1030

----boundary-LibPST-iamunique-336481685_-_-
Content-type: text/plain

>From: BlackBox [mailto:BLACKBOX{([at]})nowhere.xy
>Douglas G. Danforth
>Sent: Thursday, 13 March 2008 1:42 PM
>To: BLACKBOX{([at]})nowhere.xy
>Subject: Re: [BLACKBOX] Close message?
>
>Folks,
>
>I've come up with a temporary kludge to determine if a window
>has been closed.
>
>It seems that Windows.Window.frame = NIL when a window is
>closed so I can poll that. Polling works for me since I
>already have a Services.Action running.
>

Windows.Window.frame is a Views.RootFrame which is an extension of
Views.Frame. Hence you may be able to implement your own version of:

(From the Views documentation)

===================================================
PROCEDURE (f: Frame) Close
NEW, EMPTY
Perform finalization before the frame is removed.
After a call to Close, f.view and f.rider are set to NIL and
f.ConnectTo(NIL) is called.
Close is called internally.
===================================================

Regards,
Chris

Chris Burrows
CFB Software
http://www.cfbsoftware.com/cp


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-336481685_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwID5Gcm9tOiBCbGFja0JveCBbbWFpbHRvOkJMQUNL
Qk9YQExJU1RTLk9CRVJPTi5D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3JtIGZpbmFsaXphdGlvbiBiZWZvcmUgdGhlIGZyYW1lIGlzIHJlbW92ZWQuXHBh
cg0KQWZ0ZXIgYSBjYWxsIHRvIENsb3NlLCBmLnZpZXcgYW5kIGYucmlkZXIgYXJlIHNldCB0byBO
SUwgYW5kXHBhcg0KZi5Db25uZWN0VG8oTklMKSBpcyBjYWxsZWQuXHBhcg0KQ2xvc2UgaXMgY2Fs
bGVkIGludGVybmFsbHkuXHBhcg0KPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09XHBhcg0KXHBhcg0KUmVnYXJkcyxccGFyDQpDaHJpc1xwYXINClxwYXIN
CkNocmlzIEJ1cnJvd3NccGFyDQpDRkIgU29mdHdhcmVccGFyDQpodHRwOi8vd3d3LmNmYnNvZnR3
YXJlLmNvbS9jcFxwYXINClxwYXINClxwYXINCi0tLS1ccGFyDQpUbyB1bnN1YnNjcmliZSwgc2Vu
ZCBhIG1lc3NhZ2Ugd2l0aCBib2R5ICJTSUdOT0ZGIEJMQUNLQk9YIiB0byBMSVNUU0VSVkBMSVNU
Uy5PQkVST04uQ0hcfX0AAABK
----boundary-LibPST-iamunique-336481685_-_---
Received on Thu Mar 13 2008 - 05:23:09 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:58 UTC