o return YES. In particular,
-canBecomeMainWindow defaults to NO for panels.
Regards,
Ken
>
> Regards,
> Anni
> From: Ken Thomases
> To: anni saini
> Cc: "cocoa-dev@lists.apple.com"
> Sent: Monday, 11 March 2013 7:31 PM
> Subject: Re: Issue with makeKeyAndO
Thanks Ken. That works but this property doesn't make it active window.
Regards,
Anni
From: Ken Thomases
To: anni saini
Cc: "cocoa-dev@lists.apple.com"
Sent: Monday, 11 March 2013 7:31 PM
Subject: Re: Issue with makeKeyAndOrderFront
On Mar
On Mar 11, 2013, at 3:15 AM, anni saini wrote:
> My app is just having NSStatusBar menu such as Adium. On right click context
> menu, I'm calling some window to open.
>
> //Calling method
> myWindow = [[MyWindowViewController alloc]init];
> myWindow.data = @"abc";
> [myWindow show:self];
>
> //
Hi,
My app is just having NSStatusBar menu such as Adium. On right click context
menu, I'm calling some window to open.
//Calling method
myWindow = [[MyWindowViewController alloc]init];
myWindow.data = @"abc";
[myWindow show:self];
//Called method
- (void)show:(NSWindow*)parentWindow
{
[myPa