Contents Index Topic Contents | ||
Previous Topic: IHTMLStyle::get_cursor Next Topic: IHTMLStyle::get_filter |
IHTMLStyle::get_display
HRESULT get_display( BSTR *p );Retrieves the value of the display attribute for the element.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a variable that receives the value of the attribute. The variable receives "none" if the element is not being rendered, or NULL if it is. See display for details.
See also put_display
IHTMLStyle::put_display
HRESULT put_display( BSTR v );Sets the value of the CSS display attribute for the element. The attribute determines whether the element is rendered.
- Returns S_OK if successful, or an error value otherwise.
- v
- String specifying whether to render the element. If this parameter is "none", the element is not rendered; if NULL, it is rendered. See display for details.
Although you can apply the display attribute to parts of a table (such as a TR or TD element), changing the property has no effect on those parts. However, you can dynamically control the rendering of the entire table by applying the attribute to the TABLE element.
See also get_display
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.