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: how to set NavDialogCreationOptions strings



For any fields that require a CFString just pass in your string
literal using the CFSTR macro or a CFStringRef returned from one of
the "CFStringCreate" routines.

Michael
Orbital Launch & Lift, Inc.
The MacOS X setuid Helper Tool Experts
http://www.orbitallaunch.com

At 3:08 PM -0700 7/29/04, Kurt Bigler wrote:
>A CFString newbie question...
>
>The header doc for NavDialogCreationOptions doesn't give any pointers on
>what one is supposed to do to set CFStrings that have already been already
>set (by the call to NavGetDefaultDialogCreationOptions).
>
>First I thought these strings must be mutable else it would be unsafe to
>modify the strings in NavDialogCreationOptions. But maybe I am expected to
>dispose the old strings and create new ones to assign to the fields?
>Otherwise--I could not find an API to reassign the value of a mutable
>string. Doing a replace operation seems like overkill.
>
>Thanks for any info.
>
>-Kurt Bigler
>_______________________________________________
>carbon-development mailing list | email@hidden
>Help/Unsubscribe/Archives:
>http://www.lists.apple.com/mailman/listinfo/carbon-development
>Do not post admin requests to the list. They will be ignored.
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.


References: 
 >how to set NavDialogCreationOptions strings (From: Kurt Bigler <email@hidden>)



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.