On Wed, 28 Jun 2006, Tim Newsham wrote: > I have an IWebBrowserApp pointer and I want to get events from > the DWebBrowserEvents interface (the BeforeNavigate2 event, > in particular). If I understand correctly, I should make an > event class: > > class EventHandler(object) : > def BeforeNavigate2(self, *args) : > print "before nav2 fired", args
As usual, I figured this out right after asking (one of the best reasons to ask :). The gen_py/EAB22AC0-30C1-11CF-A7EB-0000C05BAE0Bx0x1x1.py file lists the method name as OnBeforeNavigate2. Using that name, I am receiving callbacks. Tim Newsham http://www.lava.net/~newsham/ _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32