• 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: Display an Alert Sheet at a Specified Screen Position
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Display an Alert Sheet at a Specified Screen Position


  • Subject: Re: Display an Alert Sheet at a Specified Screen Position
  • From: Mike Abdullah <email@hidden>
  • Date: Wed, 25 Mar 2015 23:10:03 +0000

Are you perhaps looking for this API? https://developer.apple.com/library/mac/documentation/Cocoa/Reference/NSWindowDelegate_Protocol/index.html#//apple_ref/occ/intfm/NSWindowDelegate/window:willPositionSheet:usingRect:

> On 25 Mar 2015, at 22:06, Dave <email@hidden> wrote:
>
> Hi All,
>
> I’d like to be able to display and Model Alert Sheet at an arbitrary screen location, is this possible?
>
> If not, if I created a borderless window with a transparent content area and positioned it where I wanted it, could I then display the Sheet using this window using [alert beginSheetModalForWindow:[searchField window] modalDelegate:self didEndSelector:@selector(alertDidEnd:returnCode:contextInfo:) contextInfo:nil]; ?
>
> I’d like to be able to display and Model Alert Sheet at an arbitrary screen location, is this possible?
>
> Thanks in advance.
> All the Best
>
>
>
>
> _______________________________________________
>
> 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


_______________________________________________

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


  • Follow-Ups:
    • Re: Display an Alert Sheet at a Specified Screen Position
      • From: Dave <email@hidden>
References: 
 >Display an Alert Sheet at a Specified Screen Position (From: Dave <email@hidden>)

  • Prev by Date: Re: Display an Alert Sheet at a Specified Screen Position
  • Next by Date: Re: Display an Alert Sheet at a Specified Screen Position
  • Previous by thread: Re: Display an Alert Sheet at a Specified Screen Position
  • Next by thread: Re: Display an Alert Sheet at a Specified Screen Position
  • Index(es):
    • Date
    • Thread