RE: [GD-Windows] Extending Internet Explorer DOM when hosting
Brought to you by:
vexxed72
From: Jon W. <hp...@mi...> - 2002-01-16 04:03:38
|
Thanks; this is the second recommendation I get for this method. Although I had hoped for some way to implement IXMLDOMNode and just make it available to my hosted IE, I think this way can be made to work, too (although with slightly heavier lifting required on my part). Cheers, / h+ > -----Original Message----- > From: gam...@li... > [mailto:gam...@li...]On Behalf Of > Rich > Sent: Tuesday, January 15, 2002 6:49 PM > To: gam...@li... > Subject: Re: [GD-Windows] Extending Internet Explorer DOM when hosting > > > > In article <HEE...@mi...>, > "Jon Watte" <hp...@mi...> writes: > > > I'm hosting an Internet Explorer control in my application. I would > > like to expose some DOM properties with functions on them to JScript > > running in web pages inside that control. > > You can make a simple COM object that can be instantiated in the HTML > and use that to provide a callback into your larger application. > > I think the way WSH provides 'global' objects like WScript is that > they host the scripting environment itself and expose that through the > scripting environment. This is what IE is doing for you, although I > don't know if IE explicitly exposes the scripting environment that > way. > > Take a look at the docs for Windows Script Host and see if that helps. > -- > Ask me about my upcoming book on Direct3D from Addison-Wesley! > Direct3D Book <http://www.xmission.com/~legalize/book/> > Don't Support Spammers! Boycott Fractal Painter 7! > <http://www.xmission.com/~legalize/spammers.html> > > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > |