Re: [GD-Windows] Terminating a program
Brought to you by:
vexxed72
From: brian s. <bri...@gm...> - 2005-07-30 18:25:30
|
On 7/30/05, epa...@ko... <epa...@ko...> wrote: >=20 > Is there a way of delivering WM_CLOSE so that the dialog box does not > appear even if the application does not respond? With this I would > probably solve 95% of my current problem cases. (And could concentrate > my debugging effort to the remaining 5%) Sounds like you might be better off not using WM_CLOSE, since the OS is=20 going to complain if you ignore it for too long. But you have plenty of=20 other options if you want to handle communications between two apps you=20 control. Easiest thing is to use RegisterWindowMessage() to get a unique=20 message value for your own custom quit message, and then the child=20 application could post WM_CLOSE to itself whenever it receives that custom= =20 quit message from the launcher app. --brian |