Carbon


TEFindWordProcPtr

Header: TextEdit.h Carbon status: Not Recommended

typedef void(* TEFindWordProcPtr) (
    UInt16 currentPos, 
    SInt16 caller, 
    TEPtr pTE, 
    TEHandle hTE, 
    UInt16 *wordStart, 
    UInt16 *wordEnd
);

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

void MyTEFindWordCallback (
    UInt16 currentPos, 
    SInt16 caller, 
    TEPtr pTE, 
    TEHandle hTE, 
    UInt16 *wordStart, 
    UInt16 *wordEnd
);

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