[futurebasic] Re: Folder Date order

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : July 1998 : Group Archive : Group : All Groups

From: Rick Brown <rbrown@...>
Date: Sat, 11 Jul 1998 07:51:43 -0500
Michael wrote:
> The Finder allows a user to specify the display order of files within a folder.
> (Alphabetical, by date etc.)
> 
> Is it possible to pick up this info programatically?


You bet.  Call GETCATINFO on the folder (OSErr = FN GETCATINFO(@pb)),
then look at the frView subfield within the ioDrUsrWds field in the
returned parameter block (pb.ioDrUsrWds.frView%).  For complete
information, check out my tutorial on GETCATINFO:

  http://www.incolor.com/rbrown/tutorials/getcatinfo.htm

- Rick