On 11 Nov 2009, at 21:23, kirankumar wrote:
> this will help you
> keep this 3lines of code in awakeFromNib, and mpwindow is you are window name.
>
> id closeButton = [mpWindow standardWindowButton:NSWindowCloseButton ];
> [closeButton setAction:@selector(closeapp:)];
> [closeButton setTarget:self
<http://discussions.apple.com/>;
is not functioning as expected.
Regards
Symadept
On Thu, Nov 12, 2009 at 12:27 PM, Nick Zitzmann
mailto:n...@chronosnet.com>> wrote:
On Nov 11, 2009, at 8:50 PM, Symadept wrote:
How to close/minimize the app programmatically.
To close the app, cal
sions.apple.com/>;
> is not functioning as expected.
>
> Regards
> Symadept
>
>
> On Thu, Nov 12, 2009 at 12:27 PM, Nick Zitzmann
> wrote:
>
>
> On Nov 11, 2009, at 8:50 PM, Symadept wrote:
>
> How to close/minimize the app programma
d.
Regards
Symadept
On Thu, Nov 12, 2009 at 12:27 PM, Nick Zitzmann wrote:
>
> On Nov 11, 2009, at 8:50 PM, Symadept wrote:
>
> > How to close/minimize the app programmatically.
>
> To close the app, call -[NSApplication terminate:].
>
> > I tried the followin
On Nov 11, 2009, at 8:50 PM, Symadept wrote:
> How to close/minimize the app programmatically.
To close the app, call -[NSApplication terminate:].
> I tried the following way
> but no luck.
>
>[[NSApp mainWindow] performMiniaturize:nil];
This will only miniaturize the main
Hi,
How to close/minimize the app programmatically. I tried the following way
but no luck.
[[NSApp mainWindow] performMiniaturize:nil];
[OR]
[NSApp miniaturizeAll:self];
And close should not terminate my app, it should place an icon in the Dock,
I hope it would be the