PC Review


Reply
Thread Tools Rate Thread

a button in another application

 
 
Omar Alawna
Guest
Posts: n/a
 
      6th Dec 2003
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


 
Reply With Quote
 
 
 
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      6th Dec 2003
* "Omar Alawna" <(E-Mail Removed)> scripsit:
> 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.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Run application from cmd button TKM Microsoft Outlook VBA Programming 7 3rd Nov 2009 01:21 PM
How to embed a button in an application? =?Utf-8?B?Q3VyaW91c1VzZXI=?= Windows XP General 2 19th Jul 2007 04:56 PM
Run Application from a button Pete and Jeannette Smith Microsoft Access Form Coding 2 30th Apr 2007 12:00 PM
Click A Button On Another Application sarafian_developer@yahoo.gr Microsoft Dot NET Framework Forms 0 30th Nov 2006 09:35 PM
How to close an application when a button is clicked even when the application is running another process? Anderson Takemitsu Kubota Microsoft Dot NET Compact Framework 2 19th Aug 2003 12:47 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:31 PM.