By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,779 Members | 1,500 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,779 IT Pros & Developers. It's quick & easy.

BHO and keyboard hooks

P: n/a
hello,
I want to add a keyboard hook to my application.This should be detected only
from IE.I searched on this and found the IEAccessible_final_sem_doc in the
following link:
http://slappy.cs.uiuc.edu/fall03/team2/Final/index.html

I understand that i have to install the hooks using the SetWindowsHookEx
from within the IObjectWithSite:SetSite.
But i came across this line in the code...

explorer = (WebBrowserClass)Marshal.CreateWrapperOfType(
wba as SHDocVw.IWebBrowser,
typeof(WebBrowserClass));

I dont understand it.Also how is the HookProc getting called?i need to know
this so that i can modify it for my procedure.

please help me.I am lost.
thanks,
Priya
Apr 4 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.