Click to return to the Reusing Browser Technology home page    
IHTMLStyleSheet::get_cssT...     IHTMLStyleSheet::get_href...     IHTMLStyleSheet Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLStyleSheet::get_disabled Method


Retrieves the value that indicates whether the style sheet has a title and is currently enabled.

Syntax

HRESULT get_disabled( 
    VARIANT_BOOL *p 
);

Parameters

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.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

The application of individual style sheets can be turned on and off dynamically. The value of this property also is controlled by whether titled style sheets are applied.

Windows CE

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

IHTMLStyleSheet::put_disabled Method


Enables or disables the style sheet.

Syntax

HRESULT put_disabled( 
    VARIANT_BOOL v 
);

Parameters

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

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


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.