ADC Membership Technical Business Join ADC
Search Advanced Search
NOTE: This Technical Note has been retired. Please see the Technical Notes page for current documentation.

Technical Note TB09
Finder Flags

CONTENTS

This Technote updates the meanings of several of the bits which changed in System 7 and System 7 Pro.

[Nov 01 1993]






Introduction

The Finder keeps and uses a series of file information flags for each file. These flags are located in the fdFlags field (a word at offset $28 into an HParamBlockRec) of the ioFlFndrInfo record of a parameter block. For directories, the flags are located in the frFlags field of the ioDrUsrWds record of a parameter block (also offset $28). They may change with newer versions of the Finder. Finder 7.1.1 assigns the following meanings to the flags:

frFlags definitions for ioDrUsrWds


Note:
The MacBinary II specification instructs downloading applications to clear bits 0, 1, 8, 9, and 10 when downloading a file in MacBinary II format. Downloading applications should actually clear only bits 0 and 8, (the former onDesk bit, and the hasBeenInited bit). Clearing bits 1, 9, or 10 will result in the file being interpreted incorrectly, since bit 1 is now used to store color information, bit 9 tells the system if the file is a letter, and bit 10 informs the Finder if the file has a custom icon.


Back to top

References

Inside Macintosh, Macintosh Toolbox Essentials

Inside Macintosh, Volume VI, The Finder Interface

Back to top

Downloadables

Acrobat gif

Acrobat version of this Note (220K).

Download



Technical Notes by Date | Number | Technology | Title
Developer Documentation | Technical Q&As | Development Kits | Sample Code




Gray line

Contact ADC |  ADC Site Map |  ADC Advanced Search
For information about Apple Products, please visit Apple.com.
Contact Apple | Privacy Notice
Copyright © 2002 Apple Computer, Inc. All rights reserved.
1-800-MY-APPLE