Solved

Hooking internet explorer. (not MFC only Win32)

Posted on 2001-08-05
5
307 Views
Last Modified: 2013-11-25
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

0
Comment
Question by:andla
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 1

Expert Comment

by:Aggarwal
ID: 6354292
search for "Borwser Helper object" in msdn knowledge base !!
You will get lots of information !!

0
 
LVL 1

Author Comment

by:andla
ID: 6355088
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
 
LVL 1

Accepted Solution

by:
Aggarwal earned 100 total points
ID: 6357773
search for "Browser Helper Object"

sorry for spelling it wrong ... You will find number of sources !!
0
 
LVL 1

Author Comment

by:andla
ID: 6358785
I figured that out don't worry. :-)

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

Regards Andla.
0
 
LVL 1

Author Comment

by:andla
ID: 6362224
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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question