a button in another application

  • Thread starter Thread starter Omar Alawna
  • Start date Start date
O

Omar Alawna

Hi..I want to create an application that detects when a button is clicked on
another standalone application.for example if we have ICQ running i want my
program to know which button was pressed there..Anybody havin an idea about
how to get this info?
thanks
 
* "Omar Alawna said:
Hi..I want to create an application that detects when a button is clicked on
another standalone application.for example if we have ICQ running i want my
program to know which button was pressed there..Anybody havin an idea about
how to get this info?

You will have to write a global windows hook. That's an advanced job
and will require a lot of p/invoke. I feel sorry, but I don't have an
example for doing that in .NET.
 
Back
Top