[python-win32] Can't catch WM_CREATE
Mark Hammond
mhammond at skippinet.com.au
Thu Apr 21 01:01:48 CEST 2005
> i can't seem to catch a WM_CREATE message in simple code.
> i expect my code to print 'create', but it doesn't
The problem is the way win32gui works. win32gui sub-classes the created
window *after* the call to CreateWindow returns - however, WM_CREATE is sent
*before* CreateWindow returns. It may be possible to rework win32gui to
solve that, but I doubt I will do it :)
Mark.
More information about the Python-win32
mailing list