Carbon


WidthHookProcPtr

Header: TextEdit.h Carbon status: Not Recommended

typedef UInt16(* WidthHookProcPtr) (
    UInt16 textLen, 
    UInt16 textOffset, 
    void *textBufferPtr, 
    TEPtr pTE, 
    TEHandle hTE
);

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

UInt16 MyWidthHookCallback (
    UInt16 textLen, 
    UInt16 textOffset, 
    void *textBufferPtr, 
    TEPtr pTE, 
    TEHandle hTE
);

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