Important: The information in this document is obsolete and should not be used for new development.
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
, orkCDInfoReference
.- 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 theinfoType
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
TheCDItemInfoType
type (page 173).
TheGetFileInfo
method (page 234).