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: Choosing default location with NavCreateChoose*Dialog APIs



On 8/31/03 5:04 AM, Bruce Spath didst favor us with:

> Hi,
> The NavServices NavChoose* APIs, e.g. NavChooseObject(), have a
> parameter to set the default
> location of the dialog presented using an AE descriptor. Since these
> APIs are deprecated, what is
> the way to set the default location with the recommended
> NavCreateChoose*Dialog APIs? Thanks
> for any pointers.


AEDesc theLocation;

if ( AECreateDesc( typeFSRef, &inFolder, sizeof(FSRef), & theLocation )
== noErr)
NavCustomControl( inCBRecPtr->context, kNavCtlSetLocation,
&theLocation );


Larry
_______________________________________________
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: 
 >Choosing default location with NavCreateChoose*Dialog APIs (From: Bruce Spath <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.