🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.acorn.tech
Article #56

Re: Help!

#56
From: Pete Goodwin
Date: Wed, 04 Nov 1992 07:45
24 lines
1624 bytes
In article <2vFnM5j025n@khantazi.welly.gen.nz>, banksie@khantazi.welly.gen.nz (Philip R. Banks) writes...

>> 2) How do you embed one dbox within another - again as in the Impression Style
>> Editor dbox?
> 
>   These are pane windows. A pane window is one that is associated strongly
>to another window that it should move when the other window moves and be
>closed when the other window is etc... These require a certain amount of
>work to be done by your application to implement. Have a hunt through the
>PRMs looking for the word 'pane' should help.

Basically, when the main window sees a wimp_EOPEN event, open the pane. You'll
need to adjust the wimp_openstr bounding box to make the pane window follow the
main window. Also, the order of opening can be important - otherwise you'll get
a lot of redrawing in the pane window!

To catch wimp_EOPEN events in a dbox, use dbox_raw_eventhandler and look for
wimp_EOPEN and wimp_ECLOSE. Make sure you return FALSE in both cases otherwise
dbox will assume you've handled 'open'/'close' and not bother to do it for
you! I've not tried this, but it ought to work.

Pete Goodwin
goodwin@edieng.enet.dec.com
Technical Details
Message-ID: <1992Nov4.085124.13885@rdg.dec.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uwm.edu!cs.utexas.edu!sun-barr!decwrl!pa.dec.com!rdg.dec.com!edieng.enet.dec.com!goodwin

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.acorn.tech
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uwm.edu!cs.utexas.edu!sun-barr!decwrl!pa.dec.com!rdg.dec.com!edieng.enet.dec.com!goodwin
From: goodwin@edieng.enet.dec.com (Pete Goodwin)
Subject: Re: Help!
Message-ID: <1992Nov4.085124.13885@rdg.dec.com>
Sender: news@rdg.dec.com (Mr News)
Organization: Digital Equipment Corporation
Date: Wed, 4 Nov 1992 07:45:55 GMT
Lines: 24