Hi,I have the following code (and it doesn't work):
nWinHandle1 = FindWindowEx(nWinHandle1, IntPtr.Zero, "Internet Explorer_Server", null);
ProcessId = GetWindowThreadProcessId(hwnd, out ProcessId);
hHook = SetWindowsHookEx(4, MouseHookProcedure, (IntPtr)0, ProcessId);
Marshal.GetLastWin32Error() returns 1008 (DEC).
Can U help me?
Regards
bp
Bartosz