How to enable toolbar in new popup window where the toolbar is disabled.
I mean if the window is created using window.open("","toolbar=no") then that window don't have toolbar enabled.
I want to enable toolbar in that.
Is there any way to programmatically/manually achieve that
this would do the trick.But I dont know why this code dint show up in any forum.
It is so simple all you have to do is find all the InternetExplorer
instance and set the Toolbar
flag to true
internal static void enableToolbar()
{
ShellWindows shellWindows = new ShellWindows();
foreach (InternetExplorer ie in shellWindows)
{
String filename = ie.Name;
if (filename.Contains("Internet Explorer"))
{
ie.ToolBar = 1;
}
}
}