[PyQt] QWidget.winEvent and PyQt4.QtCore.MSG

le goodboi lgoodboi at googlemail.com
Wed May 27 19:43:05 BST 2009


Hi there,

i have overwritten a QWidget's winEvent() function because i want to  
receive a message from another application, which sends it to my  
application using SendMessage (win32, winapi black magic).

winEvent() gets called as expect with one argument, PyQt4.QtCore.MSG.  
The problem that i am having is that i do not know how to get the type  
of the received message and its data.

Any advice on how to do that or another way how i can listen for  
windows messages?

regards, lg


More information about the PyQt mailing list