Application events for window focus, launch, and exit

G

g62msdn

Are there events which allow a program to monitor applications when they are
launched, exited, and switched-to?

Can you point me to some C# references or sample code for this?

Thank you.

(e-mail address removed)
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?ZzYybXNkbg==?=,
Are there events which allow a program to monitor applications when they are
launched, exited, and switched-to?

Can you point me to some C# references or sample code for this?
As far as I know, those events have to originate within the programs,
themselves. For example, Word has events that can fire when a window is
switched into, or the application is exited. Other than that, I suspect you'd
need to work with the Windows API.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top