🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #14651

Problem writing a CDEF.

#14651
From: jim
Date: Fri, 13 Feb 1987 03:35
15 lines
1105 bytes
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, ...
Technical Details
Message-ID: <2275@cec2.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!rutgers!ames!ptsfa!ihnp4!cuae2!wucs1!wucs2!cec2!jim

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!rutgers!ames!ptsfa!ihnp4!cuae2!wucs1!wucs2!cec2!jim
From: jim@cec2.UUCP
Newsgroups: comp.sys.mac
Subject: Problem writing a CDEF.
Message-ID: <2275@cec2.UUCP>
Date: Thu, 12-Feb-87 22:35:54 EST
Article-I.D.: cec2.2275
Posted: Thu Feb 12 22:35:54 1987
Date-Received: Tue, 17-Feb-87 06:13:09 EST
Organization: Washington University, St. Louis
Lines: 15
Keywords: CDEF