Click to return to the Reusing Browser Technology home page    
IHTMLWindow2::get_self Me...     IHTMLWindow2::get_top Met...     IHTMLWindow2 Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLWindow2::get_status Method


Retrieves the message displayed in the status bar at the bottom of the window.

Syntax

HRESULT get_status(
    BSTR *p
);

Parameters

p
Address of a string (BSTR) that receives the status message.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

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


IHTMLWindow2::put_status Method


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

Syntax

HRESULT put_status(
    BSTR v 
);

Parameters

v
String (BSTR) that specifies the status message to set.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

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



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.