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: QuickDraw GX Environment and Utilities /
Chapter 5 - Collection Manager / Collection Manager Reference
Functions / Getting and Setting the Exception Procedure for a Collection


SetCollectionExceptionProc

You use the SetCollectionExceptionProc function to install an exception procedure in a collection object.

void SetCollectionExceptionProc(Collection target,
      CollectionExceptionProc newExceptionProc);
target
A reference to the collection object whose exception procedure you want to change.
newExceptionProc
A pointer to the new exception procedure.
DESCRIPTION
The SetCollectionExceptionProc function copies the function pointer from the newExceptionProc parameter into the collection object referenced by the target parameter.

SEE ALSO
For an example using this function, see "Installing an Exception Procedure" beginning on page 5-45.

To obtain a pointer to an existing exception procedure in a collection object, use the GetCollectionExceptionProc function, which is described in the previous section.

For more information about exception procedures, see page 5-101.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996