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 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,Nishad.
_________________________________________________________________
Searching for the best deals on travel? Visit MSN Travel.
http://in.msn.com/coxandkings_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/cocoadev%40mikeabdullah.net

This email sent to [EMAIL PROTECTED]

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to