We are building our own tool bar for IE.We have a requirement saying when user click one menu we need to hide this toolbar.I am doing it like this.
foreach (InternetExplorer ie in new ShellWindowsClass())
{
string currenturl = ie.LocationURL;
ie.ToolBar = 0;
ie.AddressBar = true;
ie.MenuBar = true;
ie.StatusBar = true;
}
with this code it is hiding menubar,address bar and statusbar of IE.but I want to hide only my toolbar.How can i do this?