Hi all, given this code:
while 1: time.sleep(1) l_hwnd = win32gui.GetForegroundWindow() try: msg = win32gui.GetMessage(l_hwnd, 0, 0) print msg except: traceback.print_exc() can anyone tell me what's wrong with it, 'cos it doesn't print anything? I'm trying to get into this tiny application message queue and print out the messages that come in to it. Thanks a million, Radu. ___________________________________________________________ Want ideas for reducing your carbon footprint? Visit Yahoo! For Good http://uk.promotions.yahoo.com/forgood/environment.html _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32