Re: Drag and drop in the same view?
Re: Drag and drop in the same view?
- Subject: Re: Drag and drop in the same view?
- From: Marc Weil <email@hidden>
- Date: Sat, 29 Mar 2003 10:14:16 -0500
Did you try nesting views in the main view as the "parts" of the main view?
That way, each individual sub-view will have its own set of dragging
messages.
-- Marc Weil
On 3/29/03 9:46 AM, "Oscar Morales Vivs" <email@hidden> wrote:
>
Greetings. I want to do a custom view that is mostly just a custom
>
NSMatrix. However, I wanted to implement custom drag & drop between
>
parts of the view, and I don't know if it is possible to make a view
>
the destination of a drag operation initiated in itself.
>
>
The idea would be that when dragging starts a drag operation is
>
started, but if it ends in the same view its only effect is to suap the
>
cell values of the start and end point of the drag. If the drag went
>
outside, the starting cell's values would be copied.
>
>
Is it possible to do so? If it is, do I need to perform some trickery,
>
or will the view be sent a dragEntered message just after drag starts
>
in it?
>
>
Thanks in advance for your help:
>
>
Oscar Morales.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.