![]() |
Desktop Development »
Shell and IE programming »
IE / Explorer plug-ins
Intermediate
Dahlia Debug-Device Browser BarBy Jeremy BoschenAn Internet Explorer browser bar, which acts as a pseudo-debug output device |
VC7, VC7.1, VC8.0Win2K, WinXP, Win2003, ATL, Dev
|
|
Advanced Search |
|
|
|
||||||||||||||||

An IE browser bar, which acts as a target for pseudo-debug messages from client scripts.
In just about every web-application I develop, I end up creating some IFRAME or new window to act as a target for various debug related messages. I finally decided that this would be much easier if it was wrapped up in a browser bar.
Copy Dahlia.dll to your favorite directory, and run regsvr32 against it. Alternatively, build the project.
The code has only been tested against IE6 on WinXP
The browser-bar works by creating a property on the document's parentWindow which references the component. Scripts can then call against the component to perform actions in the browser-bar.
Included are a few files which demonstrate the browser-bar's usage. dahlia.js is a script wrapper around the document.parentWindow.debugDevice property which is assigned by the browser-bar. dahliaTest.htm is a sample HTML file which uses dahlia.js.
Other than that, the code is documented well enough to follow, but if you have any questions, ask.
| You must Sign In to use this message board. | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||
General
News
Question
Answer
Joke
Rant
Admin
|
PermaLink |
Privacy |
Terms of Use
Last Updated: 25 Jul 2003 Editor: Barry Lapthorn |
Copyright 2003 by Jeremy Boschen Everything else Copyright © CodeProject, 1999-2009 Web20 | Advertise on the Code Project |