IHTMLStyleSheet::get_disabledIHTMLStyleSheet::get_disabled*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLStyleSheet::get_cssText
*Next Topic: IHTMLStyleSheet::get_href

IHTMLStyleSheet::get_disabled


HRESULT get_disabled( 
    VARIANT_BOOL *p 
);

Determines whether the style sheet is enabled or disabled. "False" for style sheets that do not specify a title and that are not currently selected.

p
Address of a variable that receives TRUE if the style sheet is enabled, or FALSE otherwise. This parameter receives FALSE if the style sheet does not specify a title or is not currently selected.

The value of this property can change per media-dependent style sheets. The application of individual style sheets can be turned on and off dynamically. Note that the value of this property is also controlled by whether titled style sheets are applied.

See also put_disabled

Up Top of Page


IHTMLStyleSheet::put_disabled


HRESULT put_disabled( 
    VARIANT_BOOL v 
);

Enables or disables the style sheet.

v
TRUE to enable the style sheet, or FALSE to disable it.

See also get_disabled


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.