Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Cyberdog Programmer's Kit / Part 3 - Cyberdog Reference
Chapter 7 - Classes and Methods / CyberItem


GetIconSuite

Retrieves an icon suite for this Cyberdog item.

Handle GetIconSuite (in CDItemInfoType infoType);
infoType
The type of icon to retrieve. Possible values are kCDInfoDownload, kCDInfoPart, or kCDInfoReference.
return value
The handle to the icon.
DISCUSSION
This method should return a handle for an icon suite that can be used to display the Cyberdog item. This method should return the Cyberdog item reference icons, the OpenDoc part icons, or the icons for the file type of the downloaded data, depending on the value of the infoType parameter. The Cyberdog item owns the handle returned by this method; the caller should not alter its contents.

The superclass implementation calls GetFileInfo to retrieve a file type and file creator, and uses that information to retrieve an icon suite.

SEE ALSO
The CDItemInfoType type (page 173).
The GetFileInfo method (page 234).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996