• 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: Using drag-n-drop in an NSOpenPanel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using drag-n-drop in an NSOpenPanel


  • Subject: Re: Using drag-n-drop in an NSOpenPanel
  • From: Jeff Harrell <email@hidden>
  • Date: Wed, 18 Jun 2003 10:27:20 -0500

At the risk of sounding like I'm dodging the question, why don't you think about implementing drag-and-drop straight from the Finder into your application window? Skip the dialog altogether. It has the dual benefits of being a behavior that's consistent with other applications and also very easy to implement.

On Wednesday, June 18, 2003, at 08:36 AM, Robert Palmer Jr wrote:

I have a case where I want to add a custom area to an NSOpenPanel, and I want to have drag-n-drop functionality. Is this possible?

An example of the use would be in a sample texture mapping app. Say I wanted to texture map onto six cube faces, so in the custom area, I would have six image wells, one for each cube face. I then want the user to be able to drag-n-drop from the file list into the image wells (and rearrange the images in the wells using drag-n-drop) when they are satisfied with the arrangement, they would click 'Open' and the app would open all six files and perform the appropriate texture mapping.

Robert Palmer, Jr
email@hidden
_______________________________________________
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.



--
email@hidden
http://homepage.mac.com/jharrell
_______________________________________________
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.

  • Follow-Ups:
    • Re: Using drag-n-drop in an NSOpenPanel
      • From: Robert Palmer Jr <email@hidden>
References: 
 >Using drag-n-drop in an NSOpenPanel (From: Robert Palmer Jr <email@hidden>)

  • Prev by Date: NSWindowDepth Encoding
  • Next by Date: Re: Checking when tabs are selected
  • Previous by thread: SCNetworkCheckReachabilityByName and firewalls
  • Next by thread: Re: Using drag-n-drop in an NSOpenPanel
  • Index(es):
    • Date
    • Thread