I need to find some way of intercepting the mechanism NSOpenPanel
uses to get the file list for its displayed folder... is this possible?
The engineer responsible for NSOpenPanel tells me that this is an
often-requested feature, but unfortunately it's not currently possible,
as it's a completely internal data model. :-(
Maybe there's an alternative solution to the underlying problem of
access to privileged folders in NSOpenPanel?
It doesn't look like you'll be able to use NSOpenPanel to display
directories which the user can't access. You could write your own
custom file selection dialog, using a NSBrowser view to display data
you provide. You might be able to grab code from the SimpleBrowser
example application (in /Developer/Examples/AppKit/SimpleBrowser) to
get started.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Apple-cdsa mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden