• 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: "M. Uli Kusterer" <email@hidden>
  • Date: Thu, 19 Jun 2003 03:25:51 +0200

At 9:36 Uhr -0400 18.06.2003, Robert Palmer Jr wrote:
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

Don't use an NSOpenPanel. Just accept drags from the Finder. There are various reasons why this is better GUI, and you'll save yourself a lot of trouble. NSOpenPanel and similar GUI were designed at a time where single-tasking applications where the norm, and when it was not feasible to switch to the Finder to locate a file while another app was running.

Just my $0.02 :-)
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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.

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

  • Prev by Date: More NSStatusItem setTarget / setAction
  • Next by Date: Re: troubling article
  • Previous by thread: Re: Using drag-n-drop in an NSOpenPanel
  • Next by thread: Re: Using static library in Cocoa app
  • Index(es):
    • Date
    • Thread