Hiding the control box for a side bar

Add-in Express™ Support Service
That's what is more important than anything else

Hiding the control box for a side bar
Ben Thompson

Posts: 3
Joined: 2009-12-21
My BHO opens a couple of side bars (one horizontal, the other vertical); both of which automatically come with an "X" in the corner for closing / hiding the bar. We would like to be able to hide that button so that the user no longer has the option of closing the side bar (it's controlled programmatically elsewhere). Is this possible?
Posted 01 Feb, 2010 16:32:17 Top
Andrei Smolin

Add-in Express team

Posts: 14356
Joined: 2006-05-11
Hi Ben,

No, this isn't possible. That "X" is created by IE and they provide no way to control its creation. Instead, you can cancel the OnBeforeHideEx event of the bar.

Regards from Belarus (GMT+2),

Andrei Smolin
Add-in Express Team Leader
Posted 02 Feb, 2010 02:20:58 Top