Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NavCreatePutFileDialog & SimpleText



CarbonLib SDK includes a sample called NavSample. Look there as to how you
may use NavCreatePutFileDialog.

You get the saved file name using NavDalogGetSaveFileName. This function
returns you the file name as a CFString. You need then to convert CFString
either into a C or Pascal string. There are API calls to do this. For
instance, CFStringGetPascalString, converts CFString into a Pascal string.

Hope this helps,

Vladimir

on 10/9/01 2:54 AM, Norio Ota at email@hidden wrote:

> Hi,
>
> I didn't know how to implement by using NavCreatePutFileDialog, then
> I was told SimpleText's sample code used the function. So I went to
> see that but when I typed japanese characters in a saving filename
> edit field, a bad thing occured. A cursor kept spinning still and
> didn't accept any actions(events) on the saving dialog.
>
> NavPutFile function couldn't return proper Japanese filename. Neither
> could NavCreatePutFileDialog.
>
> How should I do to get a proper Japanese file name?
>
> Best regards,
> Norio Ota
> With Heart Co.,Ltd.
> _______________________________________________
> nav-serv-developers mailing list
> email@hidden
> http://www.lists.apple.com/mailman/listinfo/nav-serv-developers




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.