Re: NOT Drag and Drop onto the Desktop
Re: NOT Drag and Drop onto the Desktop
- Subject: Re: NOT Drag and Drop onto the Desktop
- From: Don McConnell <email@hidden>
- Date: Tue, 11 Dec 2001 11:37:58 -0600
Hello ...
bw> The draggingSourceOperationForLocal: _should_ work,
> but it looks like there's a Carbon bug which prevents
> it from working properly. I did a couple tests, and
> it properly prevented dragging to another Cocoa app,
> but it doesn't do it for Carbon apps.
I knew I left out a detail: My application is Cocoa (and
I have draggingSourceOperationForLocal: implemented). So
I'm in "should work" territory, no?
Dragging to non-Finder apps seems to be prevented; Finder
windows (and the Desktop) seem to be the exception. Is
this a bug or a feature?
dm> the Trash highlights and "accepts" [a dragged] card
> (although the icon doesn't change to "full"), removing
> the card from the game
bw> This is different, since the trash is now controlled by
> the Dock and not the Finder.
But shouldn't draggingSourceOperationForLocal: also prevent
dragging to the Dock? Or is the Dock "local" to every app
(which would make some sense ... although it complicates
the process of restricting a drag to a window)?
Regards,
Don