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: PCWiz <email@hidden>
- Date: Sat, 2 Jan 2010 15:45:07 -0700
Yeah its a non rectangular area, so I'll probably have to go with the second instance.
And also I need some clarification on the mouse event eater. Would it just be something like this in the subclass:
- (void)mouseDown:(NSEvent*)theEvent
{
// Do nothing
}
Or something else?
Independent Cocoa Developer, Macatomy Software
http://macatomy.com
On 2010-01-02, at 3:39 PM, Nick Zitzmann wrote:
>
> On Jan 2, 2010, at 3:31 PM, PCWiz wrote:
>
>> In any case, I still want the resize corner to work, and using a window or a view to cover it would block out the resize corner as well.
>
> I don't understand. If that's your problem, then why don't you cut the mouse-event-eater off just to the left of the resize corner? If you need to cover a non-rectangular area, then you could just make a second instance to cover the top part of the corner as well.
>
> 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