Re: Using drag-n-drop in an NSOpenPanel
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.