detect applications closing

mark233

New member
Joined
Feb 6, 2012
Messages
2
Programming Experience
1-3
I am looking for a way to detect when applications installed on the local machine are about to be exited. ie the user has clicked on the exit button within the software

Upon detection I want to be able to show a message box before the user can continue with the exiting procedure.

Failing this would I be able implement a Gui which would contain, what in effect would be, shortcuts to the applications and control the exiting call from within my own gui application?

I am thinking that if application X is spawned from parent process as a child process it might be more easily detected?? not sure of my logic here!!
I feel i should add that i am a first year software engineering student and, as such, am a novice and would greatly appreciate any insight from other forum users..
ps..this is not coursework!! lol
 
Back
Top