[Contents] [Index] [Help] [Retrace] [browse <] [Browse >]


NAME
    SetEditHook -- Set global processing for string gadgets. (V36)

SYNOPSIS
    OldHook = SetEditHook( hook )
    D0                     A0

    struct hook *setedithook( struct hook * );

FUNCTION
    Sets new global editing hook for string gadgets.

    WARNING: This function is wholly untested.  Do *NOT* use
    this in a commercial product until further notice.

INPUTS
    hook -- a pointer to a struct hook which determines a function
      in your code to be called every time the user types a key.
      This is done before control is passed to the gadget custom
      editing hook, so effects ALL string gadgets.

RESULT
    Returns previous global edit hook structure.

BUGS
    Unknown, risky.

SEE ALSO