On 9/9/09 5:40 PM, Paul Figgiani said: >Prior to installing Snow Leopard the following code worked with no problem, >It runs a savePanel for exporting an rtf doc with the contents of a >textVIew. Under 10.6 it still works. However the option to show/hide the >output file extension stopped working. The savePanel checkbox toggles the >visibility of the file extension in the output file name textField. However >the output file displays the extension regardless of the state of the >checkbox.
Have you read the AppKit Release Notes? <http://developer.apple.com/mac/library/releasenotes/Cocoa/AppKit.html> It says: "The save panel now respects the Finder option for "Show all file extensions". If it is set, then the "Hide Extension" checkbox will be hidden and the extension will always be shown by always returning YES from -isExtensionHidden" Perhaps that's what you're experiencing? >[panel setCanSelectHiddenExtension:YES]; The docs for this method should obviously be updated. Alas, this never seems to happen. Even stuff from the 10.5 Release Notes are not in the real docs (yet?). -- ____________________________________________________________ Sean McBride, B. Eng s...@rogue-research.com Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com