共用方式為


HTMLWindowEvents3 interface

Extends HTMLWindowEvents2 to intercept events raised because of changes to the IHTMLLocation::hash property.

Members

The HTMLWindowEvents3 interface inherits from the IUnknown interface. HTMLWindowEvents3 also has these types of members:

  • Events

Events

The HTMLWindowEvents3 interface has these events.

Event Description
hashchange

Raised when there are changes to the portion of a URL that follows the number sign (#).

This event is not supported for Windows apps using JavaScript.

message

Fires when the user sends a cross-document message or a message is sent from a Worker with IHTMLWindow6::postMessage.

 

Requirements

Minimum supported client

Windows XP with SP2

Minimum supported server

Windows Server 2003

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll