> 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. _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32