Click to return to the Reusing Browser Technology home page    
IHTMLCurrentStyle::get_di...     IHTMLCurrentStyle::get_fo...     IHTMLCurrentStyle Interfa...    
Web Workshop  |  Reusing Browser Technology

IHTMLCurrentStyle::get_display Method


Retrieves a string that specifies the current value of the display property of the element.

Syntax

HRESULT get_display(
    BSTR *p
);

Parameters

p
Address of a string (BSTR) returning the current value of the display property of the element.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

If this property is set to block, inline, or list-item, the element is rendered. The default is to render the element. Values for block, inline, and list-item are not supported explicitly, but are useful in setting the display property to show the content.



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.