status property

Sets or retrieves the message in the status bar at the bottom of the window.


HRESULT value = object.get_status(* statusMsg);

Property values

Type: BSTR

A variable of type BSTR that specifies or receives the message.


Do not confuse the IHTMLWindow2::status property with the IHTMLWindow2::defaultStatus property. The IHTMLWindow2::defaultStatus property specifies the default message displayed in the status bar.

Windows Internet Explorer 7. References to this property are ignored if the "Allow status bar updates via script" option is disabled or the URLACTION _FEATURE_SCRIPT_STATUS_BAR URL action is disallowed for the current URL security zone. For more information on URL security zones, please see About URL Security Zones.