IWebBrowser2::StatusBar Property

Sets or gets a value that indicates whether the status bar for the object is visible.


HRESULT IWebBrowser2::get_StatusBar(VARIANT_BOOL *pBool);
HRESULT IWebBrowser2::put_StatusBar(VARIANT_BOOL Value);


  • pBool
    Pointer to a variable of type VARIANT_BOOL that receives one of the values listed in Possible Values.
  • Value
    VARIANT_BOOL that specifies one of the values listed in Possible Values.

Possible Values

VARIANT_FALSE Status bar is hidden.
VARIANT_TRUE Default. Status bar is visible.

Return Value

Returns S_OK if successful, or an error value otherwise.


The WebBrowser object saves the value of this property, but otherwise ignores it.

See Also

IWebBrowser2::StatusText, DWebBrowserEvents2::StatusTextChange, IWebBrowser2::ToolBar, IWebBrowser2::Visible