This method of the IWebBrowser2 interface retrieves a value that indicates whether the Microsoft® Internet Explorer toolbar is visible.
public int getToolBar();