wierd win32all gui problem (w/56lines of code)
thomas.heller at ion-tof.com
Thu Oct 25 13:37:33 CEST 2001
"Neil Hodgson" <nhodgson at bigpond.net.au> wrote in message news:XLRB7.225335$bY5.977767 at news-server.bigpond.net.au...
> Jeffrey Drake:
> > Using ActivePython 2.1 and win32all I have written a simple app that
> > a window and exits when closed. However the python interpreter is still
> > running. It hangs a command prompt under win2k until I physically kill the
> > python process. I would appreciate any help possible.
> The WndProc isn't called at all. Add some prints or message boxes in the
> code and you'll see the WndProc is ignored.
IIRC you have to pass the return value of the RegisterClass() call (which
is an atom) to the CreateWindowEx() function as the second parameter (lpClassName).
More information about the Python-list