Article View: comp.sys.amiga.tech
Article #2558Re: Help! GetDiskObject()
From: Stone
Date: Wed, 06 Dec 1989 19:37
Date: Wed, 06 Dec 1989 19:37
23 lines
1551 bytes
1551 bytes
Reply-To: duncant@mbunix.mitre.org (Thomson)
Lines: 21
>I need help on the correct usage of GetDiskObject(). It works fine for me
>when I use it on a project, tool, trashcan, or drawer icon, but it won't
>work on a disk icon.
>for disk MYDISK: shouldn't I give "MYDISK:" as the argument to GDO(),
>resulting in "MYDISK:.icon" being read? (Doesn't work)
You are correct in assuming what is being read. The problem is, you
are reading the wrong thing. If you want the disk icon, you should specify
Disk.info. The .info file by itself only specifies where the workbench window
for that disk will come up (I think). But I do know that the disk icon is
saved in Disk.info. If the file does not exist, a default system icon is
used.
--
===============================================================================
//X\\ | icsu8212@caesar.cs.montana.edu
/// \\\ AMIGA HACKER | Murphy's First Law: (un-amended)
/// Mike Stone | Nothing can possibly go wrong.
Technical Details
Message-ID:
<2651@caesar.cs.montana.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!usc!samsung!caesar.cs.montana.edu!icsu8212Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!usc!samsung!caesar.cs.montana.edu!icsu8212 From: icsu8212@caesar.cs.montana.edu (Stone) Newsgroups: comp.sys.amiga.tech Subject: Re: Help! GetDiskObject() Message-ID: <2651@caesar.cs.montana.edu> Date: 6 Dec 89 19:37:50 GMT Sender: news@caesar.cs.montana.edu Reply-To: icsu8212@caesar.cs.montana.edu (Stone) Distribution: usa Organization: Montana State University, Dept. of Computer Science, Bozeman MT 59717 Lines: 23