Yoshiyuki Hasegawa wrote: > I coded it by combining CFString and CFURL according to everyone's advice. > There are some problems though it seems to have succeeded considerably in this code. > It is a. > fn NavDialog( _kNavDialogPutFile + _kNavDialogSheet, "Save This File As...", "untitled.abcd", @fn MyPutFileHandler, 0 ) > It is a point that "Untitled.abcd" in the example above cannot be made a character by two bytes. > Can this be solved? You should be able to set the default file name with a CFString, using code like this: NavDialog_SetSaveFileName( someCFString ) //NavDialog_SetMessage( @"Hello world" ) fn NavDialog( _kNavDialogPutFile, "", "", @fn MyPutFileHandler, 0 ) // show the dialog CFRelease( someCFString ) Unfortunately, there is a bug that often leads to a crash. 582 Error NavDialog() releases saveFileName and message wrongly The bug should be fixed for the next release, which is planned for the near future. Robert P.