Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

How would I intercept a mouse click over a third party app?

Avatar of pokermon
pokermon asked on
SoftwareVisual Basic ClassicMicrosoft Development
5 Comments1 Solution415 ViewsLast Modified:
Hi everyone.

Have been a member here for two years, and this is my first ever question, so hoping you can help me out a little.

Would it be possible to intercept a mouseclick over a third party app so that the third party app can't act on it?

To give you a *purely hypothetical* example, is it possible to have some kind of overlay (for lack of a better word) over a window -- let's say the MSN messenger chat window...that detects mouse clicks over the "send" button, and intercepts them so that they have no effect?

Once again, that is a totally bogus example however I am reluctant to share the exact details of where such a technique would be used, except for saying that it will be for a commercial purpose.

I have seen "overlays" in other applications, they are commonly called Head Up Displays, and display data from an external source over a third party application window.

So to summarise, what I am hoping for is some guidance, direction, or resources that will allow me to determine whether or not this is possible, and if so, how I would get started.

It's important to note that windows is the OS I'd be using (both XP and Vista), and that the intercept should only occur within certain, constant and well defined boundaries on the application window.

Please let me know your thoughts.  

Thanks in advance,

Avatar of zhuba
zhubaFlag of New Zealand image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

This problem has been solved!
Unlock 1 Answer and 5 Comments.
See Answers