Re: movableByWindowBackground
Re: movableByWindowBackground
- Subject: Re: movableByWindowBackground
- From: Ken Thomases <email@hidden>
- Date: Tue, 04 Nov 2014 09:21:08 -0600
On Nov 4, 2014, at 9:04 AM, Torsten Curdt <email@hidden> wrote:
> I have a NSWindow that has movableByWindowBackground set. Now I want to add
> a NSImageView but have the window be draggable also at the area covered by
> the view.
>
> My first though was to override hitTest: - but that didn't seem to work.
>
> Any pointers?
Try overriding -mouseDownCanMoveWindow to return YES.
Cheers,
Ken
_______________________________________________
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