alternatiff toolbar height

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

There is a TIFF viewer located at
which I am using to view embedded images in my webpage. To properly
code the html I need to know the height of its toolbar in pixels,
since when I use for example;

<embed src="../images/engtc.tiff" width="638" height="1050">

then it generates a black bar at the right of the screen because the
numbers don't take the toolbar height into account.

The toolbar is implemented as an ActiveX control. How would I find its
height in pixels?

Re: alternatiff toolbar height

The Developer Toolbar may help out with this:


Sandi Hardmeier
Microsoft MVP since 1999
Internet Explorer Community

Quoted text here. Click to load it

Re: alternatiff toolbar height

Hi Mouse,

The Default height for IE toolbars is 22px. If you are the author of the
ActiveX control in your toolbar you should be able to query its parent or
container property to find the toolbar dimensions.
If your ActiveX control is embeded within a html toolbar (see the Alexa
toolbar), you can stretch the height of the toolbar to whatever height you
want (but it is not persistant between IE session and always reverts back to
22px height whenever IE is loaded). You will see in the Alexa toolbar that
they use the onresize event of the containing html document to always resize
the height of the toolbar to 22px.

Quoted text here. Click to load it

Site Timeline