MSHTML Classes: CDefaults

The CDefaults class is the internal implementation of what MSHTML exposes for scripting as the defaults object.

Identifiers

coclass: HTMLDefaults {3050F4FC-98B5-11CF-BB82-00AA00BDCE0B}
dispinterface: DispHTMLDefaults {3050F58C-98B5-11CF-BB82-00AA00BDCE0B}

Scripting

The table below lists the interface members that the CDefaults class exposes as properties through its string table. Properties that Microsoft does not list in the HTML and DHTML Reference are highlighted yellow. Properties that are listed but not as applying to the defaults object are shaded yellow.

Property Attribute Interface Member
canHaveHTML same IHTMLElementDefaults get_canHaveHTML
put_canHaveHTML
contentEditable same IHTMLElementDefaults get_contentEditable
put_contentEditable
frozen same IHTMLElementDefaults get_frozen
put_frozen
isMultiLine same IHTMLElementDefaults get_isMultiLine
put_isMultiLine
scrollSegmentX same IHTMLElementDefaults get_scrollSegmentX
put_scrollSegmentX
scrollSegmentY same IHTMLElementDefaults get_scrollSegmentY
put_scrollSegmentY
style   IHTMLElementDefaults get_style
tabStop same IHTMLElementDefaults get_tabStop
put_tabStop
viewInheritStyle same IHTMLElementDefaults get_viewInheritStyle
put_viewInheritStyle
viewLink   IHTMLElementDefaults get_viewLink
putref_viewLink
viewMasterTab same IHTMLElementDefaults get_viewMasterTab
put_viewMastertab