catching WM_TIMER message

Greg Miller et1ssgmiller at gmail.com
Mon Sep 20 17:15:00 CEST 2010


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 how
to catch a message from WM_TIMER.  Anyone who could help me get this
loop converted to Python I would really appreciate it!!!!




More information about the Python-list mailing list