[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: How to make a custom drag and drop tracker image

Could you tell me how it can be done?  I look at the DragSource.drag
function, it uses the COM.DoDragDrop to do the drag drop.  I don't know
where I can set the Tracker.

Thanks.

"Veronika Irvine" <veronika_irvine@xxxxxxx> wrote in message
news:csoir4$3so$1@xxxxxxxxxxxxxxxxxx
> This is not currently supported with DragSource/DropTarget.  This is a
> requirement that I am investigating but I can not give a date when this
will
> be available.
>
> You could use org.eclipse.swt.widgets.Tracker and implement your own
> DragDetect listener.
>
> "Kevin" <kevinlouisnospam@xxxxxxxxxxx> wrote in message
> news:csm7vb$8mq$1@xxxxxxxxxxxxxxxxxx
> > Hi,
> >
> > I want to drag a tree item to the editor.  I want to tracker image
showing
> > the actual size of the object being dropped.  Just like when you move a
> > control, it shows the tracker with the actual size of the object moved.
> >
> > Could someone tell me how to do it or which classes I should look at?
> >
> > Thanks,
> >
> > Kevin
> >
> >
>
>