• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: set position of alert panel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: set position of alert panel


  • Subject: Re: set position of alert panel
  • From: "Michael Ash" <email@hidden>
  • Date: Wed, 26 Nov 2008 10:19:02 -0500

On Tue, Nov 25, 2008 at 6:49 AM, Nishad Kumar <email@hidden> 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 (email@hidden)

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:

This email sent to email@hidden

References: 
 >set position of alert panel (From: Nishad Kumar <email@hidden>)

  • Prev by Date: to get handle to "File/1.jpg"
  • Next by Date: Re: to get handle to "File/1.jpg"
  • Previous by thread: Re: set position of alert panel
  • Next by thread: set position of Alert panel
  • Index(es):
    • Date
    • Thread