• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: testing for invisible files in a file browser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: testing for invisible files in a file browser


  • Subject: Re: testing for invisible files in a file browser
  • From: "stephen joseph butler" <email@hidden>
  • Date: Tue, 8 Aug 2006 18:26:30 -0500

2006/8/8, Tyler Riddle <email@hidden>:
        ((FolderInfo*)catalogInfo.finderInfo)->finderFlags |= kIsInvisible;
        if (((FolderInfo*)catalogInfo.finderInfo)->finderFlags & kIsInvisible)
                return NO;

a) You're always setting the invisible flag. Is this some debugging code you forgot to strip? b) You're condition checks to see if the flag is there, and then returns NO. I think you meant:

        if ((((FolderInfo*)catalogInfo.finderInfo)->finderFlags &
kIsInvisible) == kIsInvisible)
                return YES;
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >testing for invisible files in a file browser (From: "Tyler Riddle" <email@hidden>)

  • Prev by Date: testing for invisible files in a file browser
  • Next by Date: Re: testing for invisible files in a file browser
  • Previous by thread: testing for invisible files in a file browser
  • Next by thread: Re: testing for invisible files in a file browser
  • Index(es):
    • Date
    • Thread