www.digitalmars.com         C & C++   DMDScript  

DMDScript - eventhandler for comobject

Hi

I downloaded and installed DMDScritpt. From the js files I am able
to create an activexobject, manipulate the excel files, etc.
Now I want to create COMCTL.ListViewCtrl . So I did the same way
and added items and columns. I was also able to display this
listview object in the OLE Container through my own c++ code. Now
I want to make eventhandler so that if user click on it , I can
execute a function in javascript. I see there is some event
handling code in eventhandlers.cpp; the CDispatchEventSink class.
How to use this through a dcomobject.

Thanks in advance
Mar 27 2011