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
Solved

Hooking internet explorer. (not MFC only Win32)

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

860 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