Re: [GD-Windows] Extending Internet Explorer DOM when hosting
Brought to you by:
vexxed72
From: Rich <leg...@xm...> - 2002-01-16 02:49:08
|
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> |