Carbon


TEDoTextProcPtr

Header: TextEdit.h Carbon status: Not Recommended

typedef void(* TEDoTextProcPtr) (
    TEPtr pTE, 
    UInt16 firstChar, 
    UInt16 lastChar, 
    SInt16 selector, 
    GrafPtr *currentGrafPort, 
    SInt16 *charPosition
);

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

void MyTEDoTextCallback (
    TEPtr pTE, 
    UInt16 firstChar, 
    UInt16 lastChar, 
    SInt16 selector, 
    GrafPtr *currentGrafPort, 
    SInt16 *charPosition
);

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