win32gui.WaitMessage

WaitMessage()

Waits for a message