IE toolbar dynamic height

  • Thread starter Thread starter Azja
  • Start date Start date
A

Azja

Hi,
anybody know if its possible to change dynamically IE toolbar height once
opened?
I was trying to call again GetBandInfo method but didn't work. I want to do
it without closing IE.
thanks
 
Hi Azja,

Have you tried SendMessage api? through a callback hook?

You may like to download and try the Advanced toolbar which has two toolbar
bands. Another thing is that toolbar seem to be unable to be resized in
height (the ITBarLayout registry does not contain any height info)

One thing I have noticed is that html toolbars like the Alexa bar can be
resized in height but the change does not persist through reloads (again no
height info in the ITBarLayout)

Regards.
 
Hi Rob,
I tried implement IOleCommandTarget and IObjectWithSite
then to call Exec(DBID_BANDINFOCHANGED) through this pointer,
and the browser turns around and calls IDeskBand::GetBandInfo with new
settings. Igor from other group advised me that.
But although it does call GetBandInfo again with new settings, the view is
not updated in IE. (I don't need to be persistent)

thanks
 
Hi Azja,
I don't know the exact mechanism for resizing a toolbar, but I have noticed
that the Discussion toolbar (comes with ms Office) uses a html document
(read from a res:// protocol) with an embedded ActiveX control (inside
<Object> tags) can't be resized.

I just did a search for ActiveX OLE automation but could not find the
specific post in this newsgroup. I think there are methods for resising the
container for an embedded ActiveX control.

Regards.
 
Back
Top