Solved

Displaying Icon Image in MouseProc hook

Posted on 2006-07-12
4
296 Views
Last Modified: 2010-05-18
Hi,

I have written a global Mouse Hook to trap when the mouse is over certain regions of my IE app.

But in the Mouse hook (or main app) I wish to display an icon - how do I do this?

0
Comment
Question by:daveyu
  • 2
4 Comments
 
LVL 12

Expert Comment

by:rajeev_devin
ID: 17091418
From mouse hook you get the position of the mouse cursor.
In your main application just check whether this position is over your man application.
If it is then change the mouse cursor.
0
 
LVL 12

Accepted Solution

by:
rajeev_devin earned 500 total points
ID: 17091429
A similar application can be available in this link
http://www.codeproject.com/dll/hooks.asp
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
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.

839 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