Re: movableByWindowBackground

2014-11-04 Thread Ken Thomases
On Nov 4, 2014, at 9:04 AM, Torsten Curdt 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

Re: movableByWindowBackground

2014-11-04 Thread edward taffel
>> >> 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 tha

Re: movableByWindowBackground

2014-11-04 Thread edward taffel
have you tried returning NO for acceptsFirstResponder on the NSImageView? > On Nov 4, 2014, at 10:04 AM, Torsten Curdt 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 b

movableByWindowBackground

2014-11-04 Thread Torsten Curdt
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? cheers, To