On Tue, May 29, 2001 at 03:39:47AM +1000, Andrew Dunbar wrote:
> Mike Nordell wrote:
> >
> > Andrew Dunbar wrote:
> > >
> > > I don't know much about Abi's internals and I can't see an
> > > obvious and elegant way to get the correct Frame pointer from
> > > inside an ie_Exp or ie_Imp. They are only passed a pd_Document
> > > pointer and this doesn't seem to be enough.
> >
> > Perhaps not too elegant, but hopefully working:
> >
> > The document contains a pointer to a XAP_App, and the matching member
> > function getApp(). XAP_App has a member function findFrame().
>
> Well one takes a Frame pointer and one takes a filename - which
> we don't usually have at file open time... But there could be
> something there... Hmmm
The XAP_App method you're looking for is probably
getLastFocusedFrame().
sam th --- [EMAIL PROTECTED] --- http://www.abisource.com/~sam/
OpenPGP Key: CABD33FC --- http://samth.dyndns.org/key
DeCSS: http://samth.dyndns.org/decss
PGP signature