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

Using drag-n-drop in an NSOpenPanel


  • Subject: Using drag-n-drop in an NSOpenPanel
  • From: Robert Palmer Jr <email@hidden>
  • Date: Wed, 18 Jun 2003 09:36:23 -0400

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.

  • Follow-Ups:
    • Re: Using drag-n-drop in an NSOpenPanel
      • From: "M. Uli Kusterer" <email@hidden>
    • Re: Using drag-n-drop in an NSOpenPanel
      • From: Jeff Harrell <email@hidden>
    • Getting notified when my cell is hidden in NSOutlineView
      • From: Glen Simmons <email@hidden>
  • Prev by Date: Re: How to have table column headers span multiple columns?
  • Next by Date: Re: Using static library in Cocoa app
  • Previous by thread: NSFileWrapper initWithPath: returns nil?
  • Next by thread: Getting notified when my cell is hidden in NSOutlineView
  • Index(es):
    • Date
    • Thread