Carbon


ControlColorProcPtr

Header: Controls.h Carbon status: Under Evaluation

typedef OSStatus(* ControlColorProcPtr) (
    ControlRef inControl, 
    SInt16 inMessage, 
    SInt16 inDrawDepth, 
    Boolean inDrawInColor
);

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

OSStatus MyControlColorCallback (
    ControlRef inControl, 
    SInt16 inMessage, 
    SInt16 inDrawDepth, 
    Boolean inDrawInColor
);
function result

A result code.


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