[python-win32] timers?
Steve Holden
steve at holdenweb.com
Wed Dec 1 22:31:08 CET 2004
Jeff Peery wrote:
> Thanks, Steve, although I did a quick google with not much luck, what is
> PumpWaitingMessage()... all I know is that it has something to do with
> Com... is this a python module?
>
Erm, actually it was a typo foir PumpWaitingMessages(), but second
thoughts are proverbially the best, and I now believe that what you
actually want is a PumpMessages() call.
This is a Windows API call. The documentation says "This allows an
application which is performing a long operation to dispatch paint
messages during the operation", which appears to cover your case pretty
exactly.
You can find it in the pythoncom module (so you should be able to say
something like
from pythoncom import PumpMessages
to enable you to call it. Please remember, though, I'm kind of stabbing
about here. Much of PythonWin assumes you know the API, and I don't :-)
regards
Steve
--
http://www.holdenweb.com
http://pydish.holdenweb.com
Holden Web LLC +1 800 494 3119
More information about the Python-win32
mailing list