Click to return to the Reusing Browser Technology home page    
IHTMLStyle::get_cursor Me...     IHTMLStyle::get_filter Me...     IHTMLStyle Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLStyle::get_display Method


Retrieves the value of the display property for the object.

Syntax

HRESULT get_display( 
    BSTR *p 
);

Parameters

p
Address of a variable that receives the value of the property. The variable receives "none" if the object is not being rendered, or NULL if it is. For details, see the display property.

Return Value

Returns S_OK if successful, or an error code otherwise.

Windows CE

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


IHTMLStyle::put_display Method


Sets the value of the display property for the object. The property determines whether the object is rendered.

Syntax

HRESULT put_display(
    BSTR v 
);

Parameters

v
String that specifies whether to render the object. If this parameter is "none", the object is not rendered; if NULL, it is rendered. For details, see the display property.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

Although you can apply the display property to parts of a table (such as a TR or TD object), changing the property has no effect on those parts. However, you can dynamically control the rendering of the entire table by applying the property to the TABLE object.

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.