defaultStatus property

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

Syntax

HRESULT value = object.put_defaultStatus( v);HRESULT value = object.get_defaultStatus(* p);

Property values

Type: BSTR

the message for the status bar.

Remarks

Do not confuse IHTMLWindow2::defaultStatus with IHTMLWindow2::status. The IHTMLWindow2::status property reflects a priority or transient message in the status bar, such as the message that appears when an HTMLFrameSiteEvents::onmouseover event occurs over an anchor.

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.

defaultStatus in Windows apps using JavaScript

Windows apps using JavaScript don't support this property because they don't have status bars.