Re: Forcing ordered-out-window to adjust position
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