[futurebasic] Re: [FB] Change filename to Longer file name

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 2004 : Group Archive : Group : All Groups

From: Robert Covington <artlythere@...>
Date: Sun, 12 Sep 2004 08:28:37 -0400
tiredchop wrote:
> The  natural question after all this though...how can we save newly 
> created files with super long filenames....it seems that our Nav 
> dialogs as currently built max out at 31...
>>
>> The first thing I'd wonder about is how to enable entry of the long 
>> file name in some Nav dialog override...from there it seems one would 
>> need to use some form of  FSMakeFSRefUnicode and go from there to 
>> return either an FSSpec for normal save , or remake the OPEN beast to 
>> use...FSCreateFileUnicode?


 From the handy Technote that Herbie referenced  < 
http://developer.apple.com/technotes/tn2002/tn2078.html >  :

>> How do I support FSRefs and long Unicode file names in open and save 
>> dialogs?
>>
>> You have to use the new NavCreateXXX APIs introduced in Navigation 
>> Services 3.0. (Navigation Services) You also have to use these if you 
>> want to implement open and save dialogs as sheets (though they don't 
>> need to be sheets)

I guess this is path to start hiking down.

Fun fact: "More than 95,000 characters are now defined in the Unicode 
standard, far more than can be represented by a single 16-bit value"

  rc