Re: set position of Alert panel

2008-11-27 Thread Alexander Spohr
If you ask the same question again you will get the same answer again: Use a sheet! atze Am 27.11.2008 um 11:48 schrieb Nishad Kumar: Hi all,how can i set the position of alert panel at centre of window rather than centre of screen.With thanks,Nishad __

Re: set position of Alert panel

2008-11-27 Thread Rob Keniger
On 27/11/2008, at 8:48 PM, Nishad Kumar wrote: Hi all,how can i set the position of alert panel at centre of window rather than centre of screen.With thanks,Nishad You probably don't want to do that. If you have a window-specific alert, you should use a sheet: http://developer.apple.com

set position of Alert panel

2008-11-27 Thread Nishad Kumar
Hi all,how can i set the position of alert panel at centre of window rather than centre of screen.With thanks,Nishad _ Register once and play all contests. Increase your scores with bonus credits for logging in daily on MSN. http://

Re: set position of alert panel

2008-11-26 Thread Michael Ash
On Tue, Nov 25, 2008 at 6:49 AM, Nishad Kumar <[EMAIL PROTECTED]> wrote: > > Hi all,i want to set the position of alert panel at centre of my > application's main window rather than screen centre. I developing my > application with Cocoa - Objective C. how can i do it. With thanks & > regards,Ni

Re: set position of alert panel

2008-11-26 Thread Mike Abdullah
I'd advise against this. Either accept the standardised system behaviour, or use a sheet instead. That said, NSAlert has a -window method. You should be able to grab the window with that and place it wherever you like using - setFrame:display: Mike. On 25 Nov 2008, at 11:49, Nishad Kumar

set position of alert panel

2008-11-26 Thread Nishad Kumar
Hi all,i want to set the position of alert panel at centre of my application's main window rather than screen centre. I developing my application with Cocoa - Objective C. how can i do it. With thanks & regards,Nishad. _ Searching f