470,810 Members | 880 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,810 developers. It's quick & easy.

Can I see if an app is bieng closed if I have it's hWnd?

I am wondering...
Can I start a program with the shell Command like WinAmphWnd =
shell("Path",1)

That will give me the hWnd in the WinAmphWnd variable when I use it to
start the app, but I want to know If there is a way to se if that window is
closed by the user.

Is it possible to set that app as an object and catch the events in that
program like if it will be closed it generates Quit_event or something??
Or can it be done in some other way?

Yours, Jonas
Jul 17 '05 #1
1 1120
This subject is finished, closed no need to post a replay :)

"BadOmen" <ba*******@hotmail.com> skrev i meddelandet
news:Uv********************@newsb.telia.net...
I am wondering...
Can I start a program with the shell Command like WinAmphWnd =
shell("Path",1)

That will give me the hWnd in the WinAmphWnd variable when I use it to
start the app, but I want to know If there is a way to se if that window is closed by the user.

Is it possible to set that app as an object and catch the events in that
program like if it will be closed it generates Quit_event or something??
Or can it be done in some other way?

Yours, Jonas

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

26 posts views Thread by Rajeev Tipnis | last post: by
1 post views Thread by MultiMarine | last post: by
4 posts views Thread by --== Alain ==-- | last post: by
15 posts views Thread by =?Utf-8?B?Sm9hY2hpbQ==?= | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.