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 short: no need to register (although the WM_TIMER will have to come from somewhere, ie your process will have to initiated a SetTimer call. If you aren't familiar with this area, it's worth your reading up on the way in which Windows message queues and timers work. There are oodles of examples /tutorials. This is pretty much the canonical starting point: http://msdn.microsoft.com/en-us/library/ms644928%28VS.85%29.aspx but obviously YMMV. TJG -- http://mail.python.org/mailman/listinfo/python-list