Important: The information in this document is obsolete and should not be used for new development.
NewIconSuite
You can use theNewIconSuite
function to get a handle to an empty icon suite.
Then you can useAddIconToSuite
to add handles to icon data.
FUNCTION NewIconSuite (VAR theIconSuite: Handle): OSErr;
theIconSuite
NewIconSuite
allocates the memory for a new icon suite and returns, in this parameter, a handle to an empty icon suite.DESCRIPTION
TheNewIconSuite
function returns a handle to an empty icon suite in the parametertheIconSuite
. When you create an icon suite usingNewIconSuite
, it sets the default label for the suite to none. To set a new default label for an icon suite, use theSetSuiteLabel
function.NewIconSuite
allocates the memory for the icon suite handle. To release the memory occupied by an icon suite, you must use theDisposeIconSuite
function.RESULT CODES
noErr 0 No error memFullErr -108 Not enough memory in heap zone SEE ALSO
For information on theDisposeIconSuite
function, see page 5-42.