cheesestraws
Well-known member
In IM: Devices, the sparse documentation on how to write Chooser Extensions includes the following useful comment:
"You should also include a 'BNDL' resource (and appropriate icon family resources) to give your device type a distinctive icon because this may be the only way that devices are identified in the Chooser window."
This is not totally accurate, or at least the "should" bit isn't. Try "must". As far as I can see, at least under System 7, if your RDEV does not have a BNDL resource, does not have the BNDL bit set, or does not have an icon family which matches the type of the file (i.e. if the Finder can't display an icon for the RDEV), the Chooser won't bother putting it in the left hand device list at all. In fact, the Chooser will totally ignore it. It won't just appear with a generic icon.
This insight brought to you by a good couple of hours of swearing.
"You should also include a 'BNDL' resource (and appropriate icon family resources) to give your device type a distinctive icon because this may be the only way that devices are identified in the Chooser window."
This is not totally accurate, or at least the "should" bit isn't. Try "must". As far as I can see, at least under System 7, if your RDEV does not have a BNDL resource, does not have the BNDL bit set, or does not have an icon family which matches the type of the file (i.e. if the Finder can't display an icon for the RDEV), the Chooser won't bother putting it in the left hand device list at all. In fact, the Chooser will totally ignore it. It won't just appear with a generic icon.
This insight brought to you by a good couple of hours of swearing.