Resize explorer bar and its control on IE window resize

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

Resize explorer bar and its control on IE window resize
 
ravinukala




Posts: 103
Joined: 2012-10-05
Hi,

How can I resize explorer bar and its control when IE window resize?

Thanks
Posted 25 Oct, 2012 05:32:14 Top
Sergey Grischenko


Add-in Express team


Posts: 7202
Joined: 2004-07-05
Hi Ravi,

It can be done in the OnBrowserResized event of the iemodule, e.g:

private bool lockBarUpdate = false;

private void IEModule_OnBrowserResized(int width, int height)
{
if (!lockBarUpdate)
{
lockBarUpdate = true;
adxieBarItem1.BarObj.AdjustBarSize(adxieBarItem1.BarObj.Width + 10);
lockBarUpdate = false;
}
}
Posted 25 Oct, 2012 11:19:54 Top