Radu Ciora wrote: > So you mean that I won't be able to see Word's message queue, right? >
Not by using GetMessage, no. You wouldn't want to in any case, because GetMessage *removes* the messages from the queue. If you COULD get them, then Word WOULDN'T get them, and the display would be screwed up. It IS possible to monitor the message queue for another application by creating a Windows hook, using SetWindowsHookEx. The WH_CALLWNDPROC or WH_GETMESSAGE hooks might do what you want. This can't be done from Python, because this actually does inject the code directly into other processes. What are you trying to accomplish? There isn't really very much of interest in a window message queue. -- Tim Roberts, [EMAIL PROTECTED] Providenza & Boekelheide, Inc. _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32