Click to return to the Reusing Browser Technology home page    
IHTMLStyleElement::get_on...     IHTMLStyleElement::get_st...     IHTMLStyleElement Interfa...    
Web Workshop  |  Reusing Browser Technology

IHTMLStyleElement::get_readyState Method


Retrieves the current state of an object being downloaded.

Syntax

HRESULT get_readyState(
    BSTR *p 
);

Parameters

p
Address of a variable that receives the current state. Can be one of these values:

complete The object is completely loaded.
interactive The object can be interacted with even though it is not fully loaded.
loading The object is currently being loaded.
uninitialized The object is not created.This value usually means that the object is being downloaded.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

Each object can independently determine which of the states it exposes.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0


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.