> Here is the POINT type declaration :
>
[quoted text clipped - 3 lines]
> public int y;
> }
Should definitely be a struct, not a class:
http://pinvoke.net/default.aspx/Structures.POINT
> and the callback function signature :
>
> // Filter function delegate
> public delegate int HookProc(int code, IntPtr wParam, IntPtr
> lParam);
That looks mostly ok:
http://pinvoke.net/default.aspx/user32/SetWindowsHookEx.html
http://www.pinvoke.net/default.aspx/Delegates/HookProc.html
> Thanks for your answer.
aimoz@intechinfo.fr - 14 Nov 2006 20:35 GMT
I've tried with your information, now it works.
Thank for your help.