PythonWin event handling
Michael Butscher
mbutscher at gmx.de
Sat Jun 5 15:25:23 EDT 2004
Hi,
I want to receive events from a rich edit control (especially when it's
changed or the caret was moved) created by win32ui.CreateRichEditCtrl().
Unfortunately something like this:
--------------------
import win32ui
def OnChar(...):
...
rec = win32ui.CreateRichEditCtrl()
rec.CreateWindow(...)
rec.OnChar = OnChar
--------------------
does not work because the attributes of the rich edit control object are
read only.
Any ideas?
Thank you
Michael
More information about the Python-list
mailing list