Click to return to the Reusing Browser Technology home page    
IElementBehaviorSiteOM In...     IElementBehaviorSiteOM::F...     IElementBehaviorSiteOM In...    
Web Workshop  |  Reusing Browser Technology

IElementBehaviorSiteOM::CreateEventObject Method


Creates a new event object.

Syntax

HRESULT CreateEventObject(
    IHTMLEventObj **ppEventObject
);

Parameters

ppEventObject
Address of a pointer to an IHTMLEventObj interface.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

The event object created by this method recognizes the current mouse position and keyboard information. A DHTML behavior can use this event object to fire its own custom event and pass additional information.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.