> if([awindow isVisible] && ![aWindow aboutWin] && ![aWindow loginWindow] &&
> ![[aWindow className] isEqual:@"NSStatusBarWindow"])
>
> Thanks.
> From: Kyle Sluder
> To: Anil Saini
> Cc: "cocoa-dev@lists.apple.com"
> Sent: Tu
rom a list or giving them some unique property so that you
can distinguish them." is the proper one.
Thanks.
From: Ken Thomases
To: anni saini
Cc: "cocoa-dev@lists.apple.com"
Sent: Wednesday, 27 February 2013 12:04 PM
Subject: Re: Issue of NSSt
On Feb 27, 2013, at 12:59 AM, anni saini wrote:
> I got the solution, just need to check for NSStatusBarWindow className as
> follows:
> if([awindow isVisible] && ![aWindow aboutWin] && ![aWindow loginWindow] &&
> ![[aWindow className] isEqual:@"NSStatusBarWindow"])
You're relying on Apple-priv
: Kyle Sluder
To: Anil Saini
Cc: "cocoa-dev@lists.apple.com"
Sent: Tuesday, 26 February 2013 9:35 PM
Subject: Re: Issue of NSStatusBar
On Feb 26, 2013, at 9:16 AM, Anil Saini wrote:
> Hi,
>
> I was facing issue of NSStatusBar getting closed by the [window close
On Feb 26, 2013, at 9:16 AM, Anil Saini wrote:
> Hi,
>
> I was facing issue of NSStatusBar getting closed by the [window close].
>
> In our application, we have used [NSStatusBar SystemStatusBar] to display
> menu. In a particular scenario, I need to close all the windows of
Hi,
I was facing issue of NSStatusBar getting closed by the [window close].
In our application, we have used [NSStatusBar SystemStatusBar] to display menu.
In a particular scenario, I need to close all the windows of my application
except About and Login, so I wrote following function:
- (void