• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Dragging file promises from an NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dragging file promises from an NSOutlineView


  • Subject: Re: Dragging file promises from an NSOutlineView
  • From: Mark Alldritt <email@hidden>
  • Date: Sun, 25 Feb 2007 21:35:18 -0800
  • Thread-topic: Dragging file promises from an NSOutlineView

Hi,

> I can't claim to be an expert on this, but do you have the following
> setup calls somewhere in your code?
>
> [theOutlineView registerForDraggedTypes:myPasteboardTypesArray];
> [theOutlineView setDraggingSourceOperationMask:NSDragOperationEvery
> forLocal:NO];

Yes, I'm making this call:

    [self setDraggingSourceOperationMask:NSDragOperationCopy forLocal:NO];

Which led me to poke around in the OmniApp framework sources.
OATableView-OAExtensions overrides draggingSourceOperationMaskForLocal,
nullifying the effect of the setDraggingSourceOperationMask: call.

I'm on my way again - thanks
-Mark

------------------------------------------------------------------------
Mark Alldritt                      Late Night Software Ltd.
Phone: 250-380-1725                Script Debugger 4.0 - AppleScript IDE
WEB:  http://www.latenightsw.com/  FaceSpan 4.3 - AppleScript RAD
                                   Affrus 1.0 - Perl Debugging


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Dragging file promises from an NSOutlineView (From: Dave Fernandes <email@hidden>)

  • Prev by Date: Re: Making a application active with NSStatusMenus
  • Next by Date: NSBrowser replacement
  • Previous by thread: Re: Dragging file promises from an NSOutlineView
  • Next by thread: Re: NSColor opacity
  • Index(es):
    • Date
    • Thread