I'm assuming the answer is no, as I've looked over the documentation, but just 
incase I missed something: is there a way to prevent NSSavePanel's "New Folder" 
button from being enabled on the fly?

For certain volumes, I don't want them to be chosen (which I can already do), 
but I also don't want New Folder to be enabled.

I attempted to try handling panel:directoryDidChange: and then calling 
setCanChooseDirectories:NO but that has no effect.

I think the best way to handle this using public APIs is to just detect the 
selected directory, and use setDirectory: to change it to something else 
(possibly showing an alert).

Any alternative advice would be appreciated.

Kevin

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to