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


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

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

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