wasm-demo/demo/ermis-f/python_m/cur/0820

35 lines
1.0 KiB
Plaintext

From: MHammond at skippinet.com.au (Mark Hammond)
Date: Wed, 14 Apr 1999 09:50:06 +1000
Subject: Event in COM
References: <3713C3A5.59CB36E5@bigfoot.com>
Message-ID: <7f0l5u$cg5$1@m2.c2.telstra-mm.net.au>
X-UID: 820
You can only get events from an OCX by using code from within Pythonwin.
You can subclass from the generated code.
You should check out the Pythonwin demos. Depending on the version you
have, these will be either in "pywin\Demos" or "pywin\Demos\ocx". You
should look for "ocxserialtest.py", "ocxtest.py", "webbrowser.py" and a
later one "msoffice.py"
Mark.
Hoon Yoon wrote in message <3713C3A5.59CB36E5 at bigfoot.com>...
>Hi,
>
> Can anyone show me some code or recommend me a book for this problem?
>I look through the newsgroup and tried to read the source, but I cannot
>figuire it out. (Thanks in Adv)
> I am trying to write an event handler for a ocx control that receives
>real time data. Obviously, I cannot retrieve anything without event
>handelers.