HTMLDocumentEvents2 Dispinterface
This dispinterface provides a connection point so that an application or control can intercept events fired by a document object.
HTMLDocumentEvents2 Members
Event name Description #define for the event (for use when implementing IDispatch::Invoke) onafterupdate Fires on a databound object after successfully updating the associated data in the data source object. DISPID_HTMLDOCUMENTEVENTS2_ONAFTERUPDATE onbeforeactivate Fires immediately before the object is set as the active element. DISPID_HTMLDOCUMENTEVENTS2_ONBEFOREACTIVATE onbeforeeditfocus Fires before an object contained in an editable element enters a UI-activated state or when an editable container object is control selected. DISPID_HTMLDOCUMENTEVENTS2_ONBEFOREEDITFOCUS onbeforeupdate Fires on a databound object before updating the associated data in the data source object. DISPID_HTMLDOCUMENTEVENTS2_ONBEFOREUPDATE oncellchange Fires when data changes in the data provider. DISPID_HTMLDOCUMENTEVENTS2_ONCELLCHANGE onclick Fires when the user clicks the left mouse button on the object. DISPID_HTMLDOCUMENTEVENTS2_ONCLICK oncontextmenu Fires when the user clicks the right mouse button in the client area, opening the context menu. DISPID_HTMLDOCUMENTEVENTS2_ONCONTEXTMENU ondataavailable Fires periodically as data arrives from data source objects that asynchronously transmit their data. DISPID_HTMLDOCUMENTEVENTS2_ONDATAAVAILABLE ondatasetchanged Fires when the data set exposed by a data source object changes. DISPID_HTMLDOCUMENTEVENTS2_ONDATASETCHANGED ondatasetcomplete Fires to indicate that all data is available from the data source object. DISPID_HTMLDOCUMENTEVENTS2_ONDATASETCOMPLETE ondblclick Fires when the user double-clicks the object. DISPID_HTMLDOCUMENTEVENTS2_ONDBLCLICK ondragstart Fires on the source object when the user starts to drag a text selection or selected object. DISPID_HTMLDOCUMENTEVENTS2_ONDRAGSTART onerrorupdate Fires on a databound object when an error occurs while updating the associated data in the data source object. DISPID_HTMLDOCUMENTEVENTS2_ONERRORUPDATE onfocusin Fires for an element just prior to setting focus on that element. DISPID_HTMLDOCUMENTEVENTS2_ONFOCUSIN onfocusout Fires for the current element with focus immediately after moving focus to another element. DISPID_HTMLDOCUMENTEVENTS2_ONFOCUSOUT onhelp Fires when the user presses the F1 key while the browser is the active window. DISPID_HTMLDOCUMENTEVENTS2_ONHELP onkeydown Fires when the user presses a key. DISPID_HTMLDOCUMENTEVENTS2_ONKEYDOWN onkeypress Fires when the user presses an alphanumeric key. DISPID_HTMLDOCUMENTEVENTS2_ONKEYPRESS onkeyup Fires when the user releases a key. DISPID_HTMLDOCUMENTEVENTS2_ONKEYUP onmousedown Fires when the user clicks the object with either mouse button. DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEDOWN onmousemove Fires when the user moves the mouse over the object. DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEMOVE onmouseout Fires when the user moves the mouse pointer outside the boundaries of the object. DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEOUT onmouseover Fires when the user moves the mouse pointer into the object. DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEOVER onmouseup Fires when the user releases a mouse button while the mouse is over the object. DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEUP onmousewheel Fires when the wheel button is rotated. DISPID_HTMLDOCUMENTEVENTS2_ONMOUSEWHEEL onpropertychange Fires when a property changes on the object. DISPID_HTMLDOCUMENTEVENTS2_ONPROPERTYCHANGE onreadystatechange Fires when the state of the object has changed. DISPID_HTMLDOCUMENTEVENTS2_ONREADYSTATECHANGE onrowenter Fires to indicate that the current row has changed in the data source and new data values are available on the object. DISPID_HTMLDOCUMENTEVENTS2_ONROWENTER onrowexit Fires just before the data source control changes the current row in the object. DISPID_HTMLDOCUMENTEVENTS2_ONROWEXIT onrowsdelete Fires when rows are about to be deleted from the recordset. DISPID_HTMLDOCUMENTEVENTS2_ONROWSDELETE onrowsinserted Fires just after new rows are inserted in the current recordset. DISPID_HTMLDOCUMENTEVENTS2_ONROWSINSERTED onselectionchange Fires when the selection state of a document changes. DISPID_HTMLDOCUMENTEVENTS2_ONSELECTIONCHANGE onselectstart Fires when the object is being selected. DISPID_HTMLDOCUMENTEVENTS2_ONSELECTSTART onstop Fires when the user clicks the Stop button or leaves the Web page. DISPID_HTMLDOCUMENTEVENTS2_ONSTOP
Interface Information
Stock Implementation mshtml.dll Custom Implementation Yes Header and IDL files mshtml.h, mshtml.idl Minimum availability Internet Explorer 4.0 Minimum operating systems Windows 95 , Windows NT 4.0 , Windows CE 4.0
'웹, HTML' 카테고리의 다른 글
자동 로그인 주소 만들기 참조 (2) | 2009.07.04 |
---|---|
IE 컨텍스트 메뉴(오른쪽 팝업) 관련 스크립트 참조 (1) | 2008.09.18 |
IE 내부에 나타나는 팝업메뉴에 추가 - 참조만... 자세하지 않다. (2) | 2008.09.18 |
웹페이지 로딩 완료 시점 파악하기 - 멀티 프레임시 고려사항 주의 (1) | 2008.09.17 |
IHTMLDocument2 도큐먼트 파싱 함수 (0) | 2008.09.17 |
WalkAll 코드 - 모니커 이용 UI 없는 다큐먼트 로딩 IPropertyNotifySink 구현 부분 참조 (2) | 2008.09.16 |
About the Browser - 웹브라우저에 대한 전반적인 아키텍쳐 (0) | 2008.09.16 |