Restricting statndard GetFile to particular types
Restricting statndard GetFile to particular types
Subject : Restricting statndard GetFile to particular types
From: Elliotte Harold <email@hidden >
Date: Sun, 17 Jul 2005 20:01:49 -0400
Delivered-to: email@hidden
Delivered-to: email@hidden
User-agent: Mozilla Thunderbird 1.0+ (Macintosh/20050712)
Consider this code fragment:
int[] types = new int[4];
types[0] = QTUtils.toOSType("JPEG");
types[1] = QTUtils.toOSType("GIFf");
types[2] = QTUtils.toOSType("PICT");
types[3] = QTUtils.toOSType("PNGf");
QTFile firstImage = QTFile.standardGetFilePreview(types);
It's supposed to limit itself to picking GIF, JPEG, PNG, and PICT files.
However, in fact it shows all files and allows the user to choose any
file type. Any ideas? is this functionality just buggy or am I doing
something wrong?
--
Elliotte Rusty Harold email@hidden
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-java mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.