• 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
Dragging out of an NSBrowser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dragging out of an NSBrowser


  • Subject: Dragging out of an NSBrowser
  • From: Michael Becker <email@hidden>
  • Date: Thu, 20 Nov 2003 19:18:24 +0100

Hi!

I am trying to kind of rebuild the Finder, only in a very limited way. I have an NSBrowser that displays the file structure on the harddisk. Now I would like to let people drag files out of the NSBrowser into an NSTableView. You can already drag and drop into the TableView from "outside", i.e. the "real" finder.

I tried to subclass NSBrowser and implement draggingSourceOperationMaskForLocal: and mouseDragged: (as I read it in a book about views in general). But it seems that those methods aren't even called. Thus my question: What are the hidden secrets when trying to drag out of an NSBrowser, i.e. to drag an NSBrowserCell? How do I go about it?

- Michael
_______________________________________________
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.

  • Prev by Date: Re: Wrapping in a Matrix
  • Next by Date: 0x3ff00000 is what, exactly?
  • Previous by thread: Re: Wrapping in a Matrix
  • Next by thread: 0x3ff00000 is what, exactly?
  • Index(es):
    • Date
    • Thread