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: Filtering image files QuickTime can open using UTIs and Navigation Services



On 1/19/06 3:22 PM, Sean McBride didst favor us with:

> On 2006-01-18 12:55, Bryan Prusha said:
> 
>> Supporting UTIs like "com.apple.quicktime-image" as metatypes is a
>> goal of UTIs, but is not on the feature list at the moment. At this
>> time your best solution is to use the 'qtif' type in your Nav
>> typelist. At least this way, Nav will do the filtering for you.
> 
> I'm calling NavCreateGetFileDialog() passing it a NavTypeListHandle with
> only 'qtif' in there and the resulting dialog does not allow png nor
> jpeg nor tif files to be selected.
> 
> So I'm back where I started... What's the 'modern' way to show a Nav
> Serv dialog allowing any image file QT can open to be selectable?

The only sure way I know is to ask QT with CanQuickTimeOpenFile or
CanQuickTimeOpenDataRef. Might be a bit slow in a Nav filter though.

Larry

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: Filtering image files QuickTime can open using UTIs and Navigation Services (From: "Sean McBride" <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.