Important: The information in this document is obsolete and should not be used for new development.
Extended Directory Information Record
The Finder manipulates the fields in the extended directory information records, which are data structures of typeDXInfo
; your application shouldn't have to check or set any of these fields directly.
TYPE DXInfo = RECORD frScroll: Point; {scroll position} frOpenChain: LongInt; {directory ID chain of open } { folders} frScript: SignedByte; {script flag and code} frXFlags: SignedByte; {reserved} frComment: Integer; {comment ID} frPutAway: LongInt; {home directory ID} END;
Field Description
frScroll
- Scroll position within the Finder window. The Finder does not necessarily save this position immediately upon user action.
frOpenChain
- Chain of directory IDs for open folders. The Finder numbers directory IDs. The Finder does not necessarily save this information immediately upon user action.
frScript
- The script system for displaying the folder's name. Ordinarily, the Finder (and the Standard File Package) displays the names of all desktop objects in the current system script, which depends on the region-specific configuration of the system. The high bit of the byte in the
fdScript
field is set by default to 0, which causes the Finder to display the folder's name in the current system script. If the high bit is set to 1, the Finder (and the Standard File Package) displays the filename and directory name in the script whose code is recorded in the remaining 7 bits. However, as of system software version 7.1, the Window Manager and Dialog Manager do not support multiple simultaneous scripts, so the system script is always used for displaying filenames and directory names in dialog boxes, window titles, and other user interface elements used by the Finder. Therefore, until the system software's script capability is fully implemented, you should treat this field as reserved.frXFlags
- Reserved.
frComment
- An ID number for the comment that is displayed in the information window when the user selects a folder and chooses the Get Info command from the File menu. The numbers that identify comments are assigned by the Finder.
frPutAway
- If the user moves the folder onto the desktop, the directory ID of the folder from which the user moves it.