> You'd only be getting draggingExited/draggingEntered when going into and out
> of the image view because the image view is registered for one of the types
> being dragged (a file perhaps). If you *only* want the content view to accept
> the drop, then you need to use a custom drag type (if you
>
> Ahhh. Yes, that's much more specific.
>
> You'd only be getting draggingExited/draggingEntered when going into and out
> of the image view because the image view is registered for one of the types
> being dragged (a file perhaps). If you *only* want the content view to accept
> the drop, t
On May 11, 2010, at 11:50 AM, Sandro Noël wrote:
> the image in the item view seems to be hogging the mouse when the mouse is
> over it
> which sends the draggingExited notification to the window
>
> when the mouse exist the image rect, the window receives another
> draggingEntered notification
On 2010-05-11, at 2:09 PM, Seth Willits wrote:
> On May 11, 2010, at 10:46 AM, Sandro Noël wrote:
>
>> ok, now, the drag operation happens in the window controller.
>> as long as I do not have an item vie inserted into the items view i can drag
>> anywhere on the window.
>> as soon as I have a
On 11 May 2010, at 19:00, Uli Kusterer wrote:
> On May 11, 2010, at 7:46 PM, Sandro Noël wrote:
>> Question: is it possible for the drag operation to be ignored by everything
>> except the main window?
>
> You could create a custom content view and override NSView's -hitTest: method
> to retur
On May 11, 2010, at 10:46 AM, Sandro Noël wrote:
> ok, now, the drag operation happens in the window controller.
> as long as I do not have an item vie inserted into the items view i can drag
> anywhere on the window.
> as soon as I have a NSImageView in there the drag operation pauses for the
>
On May 11, 2010, at 7:46 PM, Sandro Noël wrote:
> Question: is it possible for the drag operation to be ignored by everything
> except the main window?
You could create a custom content view and override NSView's -hitTest: method
to return self, I suppose? You'd need a flag to only do that duri
Greetings.
I'm experimenting with drag and drop.
i have a window, and a couple of view's arranged as so.
window - |
content view-|
decoration view
item's view -|