[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Hooking internet explorer. (not MFC only Win32)

Posted on 2001-08-05
5
Medium Priority
?
322 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 300 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

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…
Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

649 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