EN
이 콘텐츠는 한국어로 제공되지 않아 영어 버전으로 표시됩니다.
이 항목은 아직 평가되지 않았습니다.- 이 항목 평가

initUIEvent method

Initializes a new user interface event that the createEvent method created.

Document Object Model (DOM) Level 3 Events Specification, Section 5.2.1Internet Explorer 9

Syntax

object.initUIEvent(eventType, canBubble, cancelable, view, detail)

Parameters

eventType [in]

Type: String

One of the following values, or a user-defined custom event type.

abort

An onabort event.

error

An onerror event.

load

An onload event.

select

An onselect event.

resize

An onresize event.

canBubble [in]

Type: Boolean

true (true)

The event should propagate upward.

false (false)

The event does not propagate upward.

cancelable [in]

Type: Boolean

true (true)

The default action can be canceled.

false (false)

The default action cannot be canceled.

view [in]

Type: IHTMLWindow2

The active window object or null. This value is returned in the view property of the event.
detail [in]

Type: Integer

AnInteger value that specifies additional information. This value is returned in the detail property of the event.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Standards information

See also

SVGZoomEvent
CompositionEvent
DragEvent
FocusEvent
KeyboardEvent
MouseEvent
MouseWheelEvent
TextEvent
UIEvent
WheelEvent

 

 

Send comments about this topic to Microsoft

Build date: 1/23/2013

커뮤니티 추가 항목

추가
© 2013 Microsoft. All rights reserved.