Add scripting to your application with Vbsedit !

IBindEventHandler::BindHandler

 

Binds an event to an object.

HRESULT BindHandler(
   LPCOLESTR   pstrEvent,
   IDispatch*  pdisp
);

pstrEvent

[in] Specifies the event to handle.

pdisp

[in] Specifies the object to handle the event.

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Value

Description

S_OK 

The method succeeded.

This method binds an event to an object.


Add VBScript and Javascript scripting
to your application with VbsEdit !



Download Vbsedit

This package includes VbsEdit 32-bit and 64-bit.




Home  

Copyright © 2001-2022 adersοft