Carbon


ControlCNTLToCollectionProcPtr

Header: Controls.h Carbon status: Under Evaluation

typedef OSStatus(* ControlCNTLToCollectionProcPtr) (
    const Rect *bounds, 
    SInt16 value, 
    Boolean visible, 
    SInt16 max, 
    SInt16 min, 
    SInt16 procID, 
    SInt32 refCon, 
    ConstStr255Param title, 
    Collection collection
);

You would declare your function like this if you were to name it MyControlCNTLToCollectionCallback:

OSStatus MyControlCNTLToCollectionCallback (
    const Rect *bounds, 
    SInt16 value, 
    Boolean visible, 
    SInt16 max, 
    SInt16 min, 
    SInt16 procID, 
    SInt32 refCon, 
    ConstStr255Param title, 
    Collection collection
);
function result

A result code.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)