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
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