Hooking internet explorer. (not MFC only Win32)

I'm using the
hHook=SetWindowsHookEx(WH_GETMESSAGE,hookProc,NULL,GetCurrentThreadId());
to catch text from a combobox in a web page.

When i use:
char str[500];
SendMessage(hWnd,CB_GETLBTEXT,(LPARAM)1,(WPARAM)str);
in the filter function i get nothing;

But if i use CB_GETCOUNT i get the number of items.

My qestion is can i use IID_IWebBrowserApp to do this ?
Or is it something i need to change ?

Regards
Andla

LVL 1
andlaAsked:
Who is Participating?
 
AggarwalConnect With a Mentor Commented:
search for "Browser Helper Object"

sorry for spelling it wrong ... You will find number of sources !!
0
 
AggarwalCommented:
search for "Borwser Helper object" in msdn knowledge base !!
You will get lots of information !!

0
 
andlaAuthor Commented:
First i did not get any hits. I must be more carefull with copy and paste. Thanks for your help anyway. I hope i can find some source. Microsoft usually don't write win32 apps only MFC or big messed ATL examples. Could you stay put if i got stuck ?

Cheers
Andla
0
 
andlaAuthor Commented:
I figured that out don't worry. :-)

It opens a new world. It's to bad all is for ATL.

Regards Andla.
0
 
andlaAuthor Commented:
Please help me with this new question below. I thank you for your help. I need some source code fix or any new that can help me.

http://www.experts-exchange.com/jsp/qManageQuestion.jsp?ta=cplusprog&qid=20164855

Cheer
Andla
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.