Carbon


NWidthHookProcPtr

Header: TextEdit.h Carbon status: Not Recommended

typedef UInt16(* NWidthHookProcPtr) (
    UInt16 styleRunLen, 
    UInt16 styleRunOffset, 
    SInt16 slop, 
    SInt16 direction, 
    void *textBufferPtr, 
    SInt16 *lineStart, 
    TEPtr pTE, 
    TEHandle hTE
);

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

UInt16 MyNWidthHookCallback (
    UInt16 styleRunLen, 
    UInt16 styleRunOffset, 
    SInt16 slop, 
    SInt16 direction, 
    void *textBufferPtr, 
    SInt16 *lineStart, 
    TEPtr pTE, 
    TEHandle hTE
);

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