Re: catching WM_TIMER message

2010-09-20 Thread Tim Golden
On 20/09/2010 5:41 PM, Greg Miller wrote: Thank you for the assist! Quick question though, using the first example is there any need to register for WM_TIMER, ( instead of registering for WM_HOTKEY ), or is extracting the "home grown Windows message loop" enough and just run with that? In shor

Re: catching WM_TIMER message

2010-09-20 Thread Greg Miller
On Sep 20, 11:30 am, Tim Golden wrote: > On 20/09/2010 16:15, Greg Miller wrote: > > > I'm trying to get the following code converted to Python...and am > > stuck > > > if(GetMessage(&msg.NULL,NULL,NULL)) > > { > >       if(msg.message == WM_TIMER) > >       { > >            TranslateMEssage(&

Re: catching WM_TIMER message

2010-09-20 Thread Tim Golden
On 20/09/2010 16:15, Greg Miller wrote: I'm trying to get the following code converted to Python...and am stuck if(GetMessage(&msg.NULL,NULL,NULL)) { if(msg.message == WM_TIMER) { TranslateMEssage(&msg); DispatchMessage(&msg); } } I think GetMessage i

catching WM_TIMER message

2010-09-20 Thread Greg Miller
I'm trying to get the following code converted to Python...and am stuck if(GetMessage(&msg.NULL,NULL,NULL)) { if(msg.message == WM_TIMER) { TranslateMEssage(&msg); DispatchMessage(&msg); } } I think GetMessage is a canned C or C++ function, and I'm not sure