I have tried a lot of code found on the net such as the following:
http://pastebin.com/raw.php?i=a19kZMeQ
or also the following code:
*import win32gui, win32con*
*def wndProc(hwnd, msg, wParam, lParam):
if msg == win32con.WM_CREATE: print 'message: WM_CREATE'
if msg == win32con.WM_SIZE:
Hi,
2012/1/13 pierre baral pierre.ba...@gmail.com
and on my Windows, the message WM_CREATE is never sent.
That's not the case for the others messages which are correctly called but
not WM_CREATE
I found an answer from 2005 :-)
ARGH, too bad :)
Does anyone know a message which is send only one time during the life of
an application, just after the createwindow call? ;-p
2012/1/13 Amaury Forgeot d'Arc amaur...@gmail.com
Hi,
2012/1/13 pierre baral pierre.ba...@gmail.com
and on my Windows, the message WM_CREATE is
pierre baral wrote:
ARGH, too bad :)
Does anyone know a message which is send only one time during the life
of an application, just after the createwindow call? ;-p
WM_ACTIVATE is sent when your application becomes the topmost app. You
can use a global to do something the first time you see