Quote Originally Posted by vinayak4gargya View Post
From the debugger it is evident that i get the foreground window... (a call to showwindow(hwnd,SW_HIDE) works)...
But the keystroke events in wndproc are not logged.. And the value in the OldWndProc is always 0x0000000.
I presume the said code is executed in some process other than the foreground window belongs to. Well, to do that correct, the new window procedure must reside in the window's process. Otherwise the quoted code makes no sense.


well basically i want to log all keystroke events...
Well basically they do that some other way...