Geoff Chappell - Software Analyst
The CEventObj class is the internal implementation of what MSHTML exposes for scripting as the event object.
coclass: | CEventObj | {3050F48A-98B5-11CF-BB82-00AA00BDCE0B} |
dispinterface: | DispCEventObj | {3050F558-98B5-11CF-BB82-00AA00BDCE0B} |
The table below lists the interface members that the CEventObj class exposes as properties (methods, collections, etc) 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 event object are shaded yellow. Since there are quite a few on both counts, please be reminded that appearance in the list below does not mean that the property is usefully or even meaningfully accessible in scripts: it means only that as far as the MSHTML implementation is concerned, a name is provided and an attempt at access does get handled, but perhaps trivially.
Property | Interface | Member |
---|---|---|
altKey | IHTMLEventObj2 | get_altKey put_altKey |
altLeft | IHTMLEventObj3 | get_altLeft put_altLeft |
behaviorCookie | IHTMLEventObj3 | get_behaviorCookie |
behaviorPart | IHTMLEventObj3 | get_behaviorPart |
bookmarks | IHTMLEventObj2 | get_bookmarks putref_bookmarks |
boundElements | IHTMLEventObj2 | get_boundElements putref_boundElements |
button | IHTMLEventObj2 | get_button put_button |
cancelBubble | IHTMLEventObj | get_cancelBubble put_cancelBubble |
clientX | IHTMLEventObj2 | get_clientX put_clientX |
clientY | IHTMLEventObj2 | get_clientY put_clientY |
contentOverflow | IHTMLEventObj3 | get_contentOverflow |
ctrlKey | IHTMLEventObj2 | get_ctrlKey put_ctrlKey |
ctrlLeft | IHTMLEventObj3 | get_ctrlLeft put_ctrlLeft |
dataFld | IHTMLEventObj2 | get_dataFld put_dataFld |
dataTransfer | IHTMLEventObj2 | get_dataTransfer |
fromElement | IHTMLEventObj2 | get_fromElement putref_fromElement |
getAttribute | IHTMLEventObj2 | getAttribute |
imeCompositionChange | IHTMLEventObj3 | get_imeCompositionChange |
imeNotifyCommand | IHTMLEventObj3 | get_imeNotifyCommand |
imeNotifyData | IHTMLEventObj3 | get_imeNotifyData |
imeRequest | IHTMLEventObj3 | get_imeRequest |
imeRequestData | IHTMLEventObj3 | get_imeRequestData |
keyboardLayout | IHTMLEventObj3 | get_keyboardLayout |
keyCode | IHTMLEventObj | get_keyCode put_keyCode |
nextPage | IHTMLEventObj3 | get_nextPage |
offsetX | IHTMLEventObj2 | get_offsetX put_offsetX |
offsetY | IHTMLEventObj2 | get_offsetY put_offsetY |
propertyName | IHTMLEventObj2 | get_propertyName put_propertyName |
qualifier | IHTMLEventObj2 | get_qualifier put_qualifier |
reason | IHTMLEventObj2 | get_reason put_reason |
recordset | IHTMLEventObj2 | get_recordset putref_recordset |
removeAttribute | IHTMLEventObj2 | removeAttribute |
repeat | IHTMLEventObj2 | get_repeat put_repeat |
returnValue | IHTMLEventObj | get_returnValue put_returnValue |
screenX | IHTMLEventObj2 | get_screenX put_screenX |
screenY | IHTMLEventObj2 | get_screenY put_screenY |
setAttribute | IHTMLEventObj2 | setAttribute |
shiftKey | IHTMLEventObj2 | get_shiftKey put_shiftKey |
shiftLeft | IHTMLEventObj3 | get_shiftLeft put_shiftLeft |
srcElement | IHTMLEventObj2 | get_srcElement putref_srcElement |
srcFilter | IHTMLEventObj2 | get_srcFilter putref_srcFilter |
srcUrn | IHTMLEventObj2 | get_srcUrn put_srcUrn |
toElement | IHTMLEventObj2 | get_toElement putref_toElement |
type | IHTMLEventObj2 | get_type put_type |
wheelData | IHTMLEventObj4 | get_wheelData |
x | IHTMLEventObj2 | get_x put_x |
y | IHTMLEventObj2 | get_y put_y |