Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

I'm not able hook to Internet Explorer with SetWindowsHookEx

$
0
0

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


Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>