MSHTML Classes: CFrameElement

An instance of the CFrameElement class is created for each FRAME tag.

Identifiers

coclass: HTMLFrameElement {3050F314-98B5-11CF-BB82-00AA00BDCE0B}
dispinterface: DispHTMLFrameElement {3050F513-98B5-11CF-BB82-00AA00BDCE0B}

Scripting

The table below lists the interface members that the CFrameElement class exposes as properties (methods, collections, etc) through its string table in addition to the very many properties that are common to all elements.

Properties that Microsoft does not list in the HTML and DHTML Reference are highlighted. Properties that are listed but not as applying to the frame element are shaded yellow.

Property Attribute Interface Member
allowTransparency same IHTMLFrameBase2 get_allowTransparency
put_allowTransparency
appendChild   IHTMLDOMNode appendChild
attributes   IHTMLDOMNode get_attributes
border same IHTMLFrameBase get_border
put_border
borderColor same IHTMLFrameElement get_borderColor
put_borderColor
childNodes   IHTMLDOMNode get_childNodes
cloneNode   IHTMLDOMNode cloneNode
contentWindow   IHTMLFrameBase2 get_contentWindow
dataFld   IHTMLDataBinding get_dataFld
put_dataFld
dataFormatAs   IHTMLDataBinding get_dataFormatAs
put_dataFormatAs
dataSrc   IHTMLDataBinding get_dataSrc
put_dataSrc
firstChild   IHTMLDOMNode get_firstChild
frameBorder same IHTMLFrameBase get_frameBorder
put_frameBorder
frameSpacing same IHTMLFrameBase get_frameSpacing
put_frameSpacing
hasChildNodes   IHTMLDOMNode hasChildNodes
height   IHTMLFrameElement2 get_height
put_height
insertBefore   IHTMLDOMNode insertBefore
lastChild   IHTMLDOMNode get_lastChild
longDesc same IHTMLFrameBase3 get_longDesc
put_longDesc
marginHeight same IHTMLFrameBase get_marginHeight
put_marginHeight
marginWidth same IHTMLFrameBase get_marginWidth
put_marginWidth
name same IHTMLFrameBase get_name
put_name
nextSibling   IHTMLDOMNode get_nextSibling
nodeName   IHTMLDOMNode get_nodeName
nodeType   IHTMLDOMNode get_nodeType
nodeValue   IHTMLDOMNode get_nodeValue
put_nodeValue
noResize same IHTMLFrameBase get_noResize
put_noResize
onload same IHTMLFrameBase2 get_onload
put_onload
ownerDocument   IHTMLDOMNode2 get_ownerDocument
parentNode   IHTMLDOMNode get_parentNode
previousSibling   IHTMLDOMNode get_previousSibling
removeChild   IHTMLDOMNode removeChild
removeNode   IHTMLDOMNode removeNode
replaceChild   IHTMLDOMNode replaceChild
replaceNode   IHTMLDOMNode replaceNode
scrolling same IHTMLFrameBase get_scrolling
put_scrolling
src same IHTMLFrameBase get_src
put_src
swapNode   IHTMLDOMNode swapNode
uniqueID   IHTMLUniqueName get_uniqueID
uniqueNumber   IHTMLUniqueName get_uniqueNumber
width   IHTMLFrameElement2 get_width
put_width