[comp.sys.amiga] Help! GetDiskObj

icsu8212%caesar.cs.montana.edu@cunyvm.cuny.edu (12/15/89)

>... a DiskObject structure which contains all the information (including in
>particular the image of the icon) for the above-mentioned default system
>icon.  Also, I notice that directories (drawers) often get .info files
>lying around in them.  What are these?

Here's where my knowledge of workbench (or lack therof) becomes evident.
I do not know of any way to construct an icon info file.  However, all
icon.info files are stored in exactly the same format.  The only difference
between a drawer icon and a disk icon is the ID field which specifies type
of object that the icon represents.  So to create a new Disk.info file just
copy one from another source and change the ID field if necessary.
I don't know exactly what you are trying to do, and I have never worked
with icons within a program (using GetDiskObject etc..).  I only know what
I have read from the manuals that came with my Amiga, you might check there.

I really don't know what the purpose of the '.info' by themselves is.
I think they contain information as to where sub-windows are to be located
with respect to the workbench screen so if you open a drawer within a drawer,
workbench will know how big and where to put the window with that drawer's
icons.

Hope this helps,
Mike Stone
--
===============================================================================
    //X\\                       |        icsu8212@caesar.cs.montana.edu
   /// \\\   AMIGA HACKER       |  Murphy's First Law: (un-amended)
  ///         Mike Stone        |          Nothing can possibly go wrong.