Re: Issue with makeKeyAndOrderFront

2013-03-12 Thread Ken Thomases
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

Re: Issue with makeKeyAndOrderFront

2013-03-12 Thread anni saini
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

Re: Issue with makeKeyAndOrderFront

2013-03-11 Thread Ken Thomases
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]; > > //

Issue with makeKeyAndOrderFront

2013-03-11 Thread anni saini
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