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,Nishad.
Sounds like you want to use a sheet rather than an application-modal panel. Have a look at NSAlert's beginSheetModalForWindow:modalDelegate:didEndSelector:contextInfo: method for this. Mike _______________________________________________ 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]