Ben Timby wrote:
I don't think I am going to end up using a WndProc as that brings a
lot of overhead, namely the need to call PumpWaitingMessages() or
similar. The solution I am looking at right now is to simply create a
hidden window and then call PeekMessage() passing it's hwnd. This
On 16/01/2011 4:06 AM, Ben Timby wrote:
I am using pywin32 214 on Windows XP 32 bit. I am calling SetWindowLong like so:
--
import win32api, win32con
def fun():
print 'fun'
h = win32api.GetCurrentProcess()
win32api.SetWindowLong(h, win32con.GWL_WNDPROC, fun)
--
But receiving: