[comp.sys.mac] Problem writing a CDEF.

jim@cec2.UUCP (02/13/87)

Problem:
I have written a CDEF which uses a custom dragging routine.  It will
not return a non-zero value from TrackControl().  After trolling through
the ROMs with macsbug, it seems that any CDEF which returns a non-zero value
from its drag routine will cause TrackControl to return with a value that
was pushed on the stack before the CDEF was called.  (I failed to find 
where it was pushed.  The battery went dead on my trolling motor. :-)
This value is always 0.

Question:
Has anyone written a CDEF with a custom dragging routine that works?

Configuration:
I use a MacPlus, System 3.2, HD20, Finder 5.3, wooden chair, ...