[wxPython] Embedded IE vs keystrokes, plus a minor bug in the wxPython demo

minor bug: I have IE6 installed on W2K SP2+. ActiveXWrapper_IE.py from the
demo will crash if I resize the window. This seems to be caused by some
events missing from the eventObject. Fix: either call MakeActiveXClass
without an eventObj, or override all methods found by gen_py.

major prob: In embedded IE, keystrokes don't work. There is even an MSDN
article about that:
http://support.microsoft.com/default.aspx?scid=KB;EN-US;q165074

How do I use PreTranslateMessage from within wxPython? Do I have to patch
the underlying wxWindows code, or is the ActiveXWrapper-thingy
wxPython-specific and can be fixed easier?

Thanks in advance,
Gerson
http://p-nand-q.com

minor bug: I have IE6 installed on W2K SP2+. ActiveXWrapper_IE.py from the
demo will crash if I resize the window. This seems to be caused by some
events missing from the eventObject. Fix: either call MakeActiveXClass
without an eventObj, or override all methods found by gen_py.

This has been fixed in the 2.3.3 previews.

major prob: In embedded IE, keystrokes don't work. There is even an MSDN
article about that:
http://support.microsoft.com/default.aspx?scid=KB;EN-US;q165074

How do I use PreTranslateMessage from within wxPython? Do I have to patch
the underlying wxWindows code, or is the ActiveXWrapper-thingy
wxPython-specific and can be fixed easier?

WE may be able to hook into it by using the win32 modules, but I don't know
it enough to have any ideas how. Otherwise it may have ot be done in the
wxWindows code...

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Robin Dunn wrote:

major prob: In embedded IE, keystrokes don't work. There is even an MSDN
article about that:
http://support.microsoft.com/default.aspx?scid=KB;EN-US;q165074

How do I use PreTranslateMessage from within wxPython? Do I have to patch
the underlying wxWindows code, or is the ActiveXWrapper-thingy
wxPython-specific and can be fixed easier?

WE may be able to hook into it by using the win32 modules, but I don't know
it enough to have any ideas how. Otherwise it may have ot be done in the
wxWindows code...

win32ui is hooking PreTranslateMessage trough registering message hook.

other example http://www.devx.com/free/mgznarch/vcdj/1997/apr97/modeles3.asp

HTH
Niki Spahiev