Click here to Skip to main content
15,867,453 members
Articles / Desktop Programming / ATL
Article

Dahlia Debug-Device Browser Bar

Rate me:
Please Sign up or sign in to vote.
3.80/5 (5 votes)
25 Jul 2003 63.9K   755   37   7
An Internet Explorer browser bar, which acts as a pseudo-debug output device

Sample Image - dahlia.jpg

Introduction

An IE browser bar, which acts as a target for pseudo-debug messages from client scripts.

Background

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.

Using the code

Copy Dahlia.dll to your favorite directory, and run regsvr32 against it. Alternatively, build the project.

Points of Interest

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.

History

  • 7/20/2003 - Submitted

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralHorizontal Explore bar. Pin
zakkas248322-Jan-08 2:41
zakkas248322-Jan-08 2:41 
GeneralNeed more indepth information Pin
karenpayne22-Nov-04 5:27
karenpayne22-Nov-04 5:27 
GeneralGUI event catcher Pin
builder6926-Aug-03 19:06
builder6926-Aug-03 19:06 
GeneralVery usefull ! Pin
Jean-Michel LE FOL27-Jul-03 22:47
Jean-Michel LE FOL27-Jul-03 22:47 
GeneralRe: Very usefull ! Pin
JBoschen28-Jul-03 9:12
JBoschen28-Jul-03 9:12 
GeneralSounds like the start of a good article Pin
Gary R. Wheeler27-Jul-03 1:50
Gary R. Wheeler27-Jul-03 1:50 
GeneralRe: Sounds like the start of a good article Pin
JBoschen28-Jul-03 12:48
JBoschen28-Jul-03 12:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.