Hey,

I'm currently trying to detect all clicks to a particular windows application, 
using win32gui and win32ui.  Right now I'm using EnumWindows() to find the hwnd 
I want via window title, and then CreateWindowFromHandle(hwnd) to get a PyCWnd 
object that represents the window.  I then attempt to use HookMessage() to set 
up a callback for win32con.LBUTTON_DOWN.  However, my callback never gets 
called.  I know I'm getting the right PyCWnd object, because I can use it to 
set/get the window title, but for some reason the callback function never gets 
called.  Any ideas?

Thanks, -Mark
_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to