You may also want to check out the articles Q188015
and Q185127 from Microsoft.
Chellury R. Sastry <lak...@hotmail.com> wrote in message
news:380F6ADD...@hotmail.com...
: Friends,
:
:
Even if you script via C++ (through IHTMLDocument2), you still won't be able to
overcome cross domain restrictions. About your original question,
pDoc->put_onClick(handler)
<handler> should be a variant containg VT_DISPATCH. You should have an object
exposing IDispatch. By the time of event IDispatch::Invoke would be called with
DISPID_VALUE dispid.
--
Regards,
Andrew Nosenko,
Senior Software Engineer
Mead & Company
Custom look & feel for browser windows:
http://www.meadroid.com/wpm/
MeadCo HTML printing article and samples on the MSDN:
http://msdn.microsoft.com/workshop/author/script/dhtmlprint.asp
Advanced HTML printing:
http://www.meadroid.com/scriptx/