Re: Make NSWindow immovable by dragging bottom bar
Re: Make NSWindow immovable by dragging bottom bar
- Subject: Re: Make NSWindow immovable by dragging bottom bar
- From: Nick Zitzmann <email@hidden>
- Date: Sat, 2 Jan 2010 15:09:35 -0700
On Jan 2, 2010, at 11:48 AM, PCWiz wrote:
> I have a bottom bar in my Cocoa app, and when I drag from the bottom bar it moves the window. One solution here would be to add a child window that covers the bottom bar and intercepts all mouse events, but I want the window to be able to resizeable by the bottom right corner and a child window would cover that part.
>
> Any solutions?
Why do you want to override the expected behavior of such a window? Unless you have a really good reason for doing this, I'd suggest leaving it alone in order to be consistent, since the Finder and many other apps allow this.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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