Re: Window moved when dock appears.
Re: Window moved when dock appears.
- Subject: Re: Window moved when dock appears.
- From: Seth Willits <email@hidden>
- Date: Sun, 13 Apr 2008 20:00:51 -0700
On Apr 13, 2008, at 10:56 AM, Mohsan Khan wrote:
I have a window (NSBorderlessWindowMask), this window gets pushed
away when my Dock appears from being hidden.
Huh. I wouldn't expect it to do that given that it's borderless.
How can I bypass this behaviour for my window?
Should I use applicationDidChangeScreenParameters and reposition the
window, or is there an option to make my window not care about the
Dock appearing?
It'd probably be easier to just override setFrame in a window subclass
and make sure it's always what it should be. Just a thought.
--
Seth Willits
_______________________________________________
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