|Subject:||RE: close application from title bar control - close - more than one window|
|Date:||Thu, 14 Sep 2006 17:40:51 +0530|
Previous discussion was fine..that I got and implemented.
Now Suppose , I have five window ..
On closing ,any one window ,which notification I will get..?
I means that I want to close my application ..on closing any window ()
U have any way to do this.. ?
From: Mark Horner
Not sure what you are on about. Did you disable the close button yourself? Your users may not like that as they might want to get rid of clutter themselves. Can you think of any mac applications where the closed button is disabled?
Is the main window an application, and the other window just a panel such as an inspector or a tool palette, in that case you need to make it an instance of NSPanel, so it won't be counted as a window by applicationShouldTerminateAfterLastWindowClosed.
On 14 Sep 2006, at 08:40, pradip patel wrote:
|[Prev in Thread]||Current Thread||[Next in Thread]|