Re: How to get IE toolbar button to stay pressed

From: Jan (biteme_at_nospam.com)
Date: 10/19/04


Date: Tue, 19 Oct 2004 20:48:07 +0100

Wonder what I am doing different. My button doesnt stay down. Does the COM
object make any contribution here? My HKLM\Software\Microsoft\Internet
Explorer\Extensions\ entry is exactly like WebBand apart from I define
MenuStatusbar
and MenuText.

Jan

"Igor Tandetnik" <itandetnik@mvps.org> wrote in message
news:eAW0EKhtEHA.3972@TK2MSFTNGP15.phx.gbl...
> This setup works for me just fine. I don't do anything special, it just
> works. The button stays pressed down while the toolbar is shown.
> --
> With best wishes,
> Igor Tandetnik

> "Jan" <biteme@nospam.com> wrote in message
> news:%23ZU6yAhtEHA.2948@TK2MSFTNGP15.phx.gbl
> > Hi Igor,
> >
> > {E0DD6CAB-2D10-11D2-8F1A-0000F87ABD16}
> >
> > The whole entry is:
> >
> > (Default) = MyToolbar
> > BandClsid = {MY_CLSID}
> > ButtonText = Show/Hide MyToolbar
> > Clsid = {E0DD6CAB-2D10-11D2-8F1A-0000F87ABD16}
> > DefaultVisible = Yes
> > HotIcon = MyToolbar.dll,451
> > Icon = MyToolbar.dll,452
> > MenuStatusbar = Show/Hide MyToolbar
> > MenuText = Show/Hide MyToolbar
> >
> > Jan
> >
> > "Igor Tandetnik" <itandetnik@mvps.org> wrote in message
> > news:ubDVkqgtEHA.3860@TK2MSFTNGP09.phx.gbl...
> >> "Jan" <biteme@nospam.com> wrote in message
> >> news:ehGkIjgtEHA.4040@tk2msftngp13.phx.gbl
> >>> How do I get a button added to the IE toolbar to "stay pressed"
> >>> while my toolbar is active? I've looked at the code for the MS
> >>> WebBand example as this manages to do it but it is not obvious how
> >>> it is achieved.
> >>
> >> How do you register the button? What do you set under
> >>
> >> HKLM\Software\Microsoft\Internet Explorer\Extensions\<Your
> >> GUID>\CLSID