[comp.sys.mac.programmer] Top-level volume information

sfalken@caen.engin.umich.edu (Steve Falkenburg) (02/27/91)

Second in my series of programming questions...

Does anyone out there know how to set the volume-level finder
information?  There is a VFndrInfo record in the PBHGetVInfo
call, but the format of this structure appears to be
undocumented (unless I'm looking in the wrong place).

The information I'm trying to set includes the color of the
volume icon, along with the size/location/view of the root
level directory.

I tried doing a PBGetCatInfo on fsRtDirID (2) and then doing
a PBSetCatInfo back to fsRtDirID, but the PBSetCatInfo
failed.

There must be an easy way to do this, since programs like
Retrospect and Finder seem to have no trouble.

-Steve Falkenburg

----------------------------------------------------------------------
Steve Falkenburg (sfalken@mondo.engin.umich.edu)   | Great pate', but
Macintosh Programming/Support                      | I've gotta motor!
Computer Aided Engineering Network, U of Michigan  |  -Heathers