Solved

Hooking internet explorer. (not MFC only Win32)

Posted on 2001-08-05
5
286 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
  • 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
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.

705 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now