• 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: Forcing ordered-out-window to adjust position
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Forcing ordered-out-window to adjust position


  • Subject: Re: Forcing ordered-out-window to adjust position
  • From: Philip White <email@hidden>
  • Date: Sat, 15 May 2010 12:48:13 -0500

> If you can't get a direct answer to your question, could you create a subclass of NSWindow with a couple of very simple overrides:
>
> - (void) display
> {}
>
> - (void) displayIfNeeded
> {}
>
> You couldn't leave it out lest it muck with event handling, but you could order it in, position it, check its position, and order it out.
>
> --
> Scott Ribe

You know, I very briefly tried that, except I didn't think to override -displayIfNeeded as well. I figured that just called -display. Anyway, the window was still getting drawn so I gave up without looking into it much more. I'll revisit that option though.

Thanks for the input,
  Philip

_______________________________________________

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: 
 >Forcing ordered-out-window to adjust position (From: Philip White <email@hidden>)
 >Re: Forcing ordered-out-window to adjust position (From: Scott Ribe <email@hidden>)

  • Prev by Date: Re: Forcing ordered-out-window to adjust position
  • Next by Date: Re: Sorting the NSSet of a NSManagedObject's attribute
  • Previous by thread: Re: Forcing ordered-out-window to adjust position
  • Next by thread: Re: Forcing ordered-out-window to adjust position
  • Index(es):
    • Date
    • Thread