Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Why does a drop generate a DragLeave?

I figured as much.  I¹ll add a comment so the next person who comes along
doesn¹t ask the same thing. :-)

Thanks,
Scott

On 9/24/08 1:22 PM, "Duong Nguyen" <duongn@xxxxxxxxxx> wrote:

> 
> This was done intentionally to make it consistent on all platforms. On motif,
> the dragLeave event is sent before a drop.
> 
> Duong 

> 
> Hi there,
> 
> Drag and drop is progressing nicely. Drag source and drop target events are
> all being generated, and it looks like data is being transferred as
> expected. I¹m testing the various combinations of drop options now.
> 
> One thing I don¹t understand, however: I see that the carbon and win32
> implementations send a DragLeave event before sending the data in a
> DropAccept event. Why is that? I'm doing it in my code too, but it just
> looks odd.



Back to the top