Re: [BLACKBOX] Close message?

From: [at]} <Aubrey.McIntosh{>
Date: Thu, 13 Mar 2008 13:08:09 -0500

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

While there,

Would you take a moment to add and report:

        PROCEDURE (v: View) GetBackground (VAR color: Ports.Color);
        BEGIN
                color := Ports.RGBColor(2BH, 8BH, 22H);
        END GetBackground;



On Thu, Mar 13, 2008 at 12:49 PM, Douglas G. Danforth
<Danforth{([at]})nowhere.xy
> Chris,
>
> That is perfect!
>
> One must extend Views.Frame first
> TYPE
> MyFrame = POINTER TO RECORD(Views.Frame) END;
> and then implement
>
> PROCEDURE (v: View) GetNewFrame (VAR f: Frame);
> VAR myFrame: MyFrame;
> BEGIN
> NEW(myFrame);
> f := myFrame;
> display := TRUE
> END GetNewFrame;
>
> and
>
> PROCEDURE (f: MyFrame) Close;
> BEGIN
> display := FALSE;
> END Close;
>
> With these two procedures and without any polling I now know if my
> display is
> open or closed.
>
> Thank you very much!
>
> -Doug Danforth
>
>
>
>
> CFB Software wrote:
> > 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
>



-- 
-- 
Aubrey McIntosh, Ph.D.
1502 Devon Circle
Austin TX 78723-1814
http://home.grandecom.net/~amcintosh/aubrey/Search/
----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1031149224_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: att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NJbnRvc2gsIFBoLkQu
XHBhcg0KMTUwMiBEZXZvbiBDaXJjbGVccGFyDQpBdXN0aW4gVFggNzg3MjMtMTgxNFxwYXINCmh0
dHA6Ly9ob21lLmdyYW5kZWNvbS5uZXQvfmFtY2ludG9zaC9hdWJyZXkvU2VhcmNoL1xwYXINClxw
YXINClxwYXINCi0tLS1ccGFyDQpUbyB1bnN1YnNjcmliZSwgc2VuZCBhIG1lc3NhZ2Ugd2l0aCBi
b2R5ICJTSUdOT0ZGIEJMQUNLQk9YIiB0byBMSVNUU0VSVkBMSVNUUy5PQkVST04uQ0hccGFyDQp9
----boundary-LibPST-iamunique-1031149224_-_---
Received on Thu Mar 13 2008 - 19:08:09 UTC

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