[python-win32] attaching an event handler to alreadycreated object
Patricio Stegmann
kpoman at hotmail.com
Mon Jan 31 11:57:16 CET 2011
Roger,
Thanks for your tip !
I tried that but it's still not reporting the events.
Maybe this activex does rely or force one to have a gui. Do you know a workaround for this kind of cases ? Is there a way to print if this is the case ? Or to see what is going on ?
Thank you,
> To: python-win32 at python.org
> From: rupole at hotmail.com
> Date: Mon, 31 Jan 2011 00:30:32 -0500
> Subject: Re: [python-win32] attaching an event handler to alreadycreated object
>
> Try replacing
>
> self.m__signpad = TopazSigPlus.SigPlus()
>
> with
>
> self.m__signpad = win32com.client.DispatchWithEvents(TopazSigPlus.SigPlus(),
> MyEvents)
>
> Roger
>
> Patricio Eduardo Stegmann wrote:
> > Hi Roger,
> >
> > could you please be a bit more specific ?
> >
> >
> > ----- Original message -----
> >> You can pass an existing IDispatch object to DispatchWithEvents
> >> as the first arg in place of a clsid.
> >>
> >> Roger
> >>
> >>
> >>
> >> _______________________________________________
> >> python-win32 mailing list
> >> python-win32 at python.org
> >> http://mail.python.org/mailman/listinfo/python-win32
> >>
> >
> > _______________________________________________
> > python-win32 mailing list
> > python-win32 at python.org
> > http://mail.python.org/mailman/listinfo/python-win32
> >
>
>
>
> _______________________________________________
> python-win32 mailing list
> python-win32 at python.org
> http://mail.python.org/mailman/listinfo/python-win32
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20110131/56231e83/attachment.html>
More information about the python-win32
mailing list