On Nov 4, 2014, at 9:04 AM, Torsten Curdt <tcu...@vafer.org> 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 (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com