Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!sri-unix!sri-spam!mordor!lll-lcc!pyramid!voder!apple!dwb From: dwb@apple.UUCP Newsgroups: comp.sys.mac Subject: Re: Custom Dragging? Message-ID: <718@apple.UUCP> Date: Tue, 5-May-87 12:54:43 EDT Article-I.D.: apple.718 Posted: Tue May 5 12:54:43 1987 Date-Received: Thu, 7-May-87 02:18:03 EDT References: <1462@tekig4.TEK.COM> Reply-To: dwb@well.UUCP (Dave W. Berry) Distribution: world Organization: Whole Earth 'Lectronic Link Lines: 19 Keywords: custom dragcntl control In article <1462@tekig4.TEK.COM> bradn@tekig4.UUCP (Bradford Needham) writes: >The symptom I get is that if my dragCntl routine returns a nonzero >value (to tell the control manager that I'm doing custom dragging), >TrackControl returns 0 (saying that the mouse was released outside any >interesting part of the control). > >Looking at the Inside Macintosh description of custom dragging, I don't >see how the necessary information can possibly be communicated between >TrackControl and a custom control. > >Has anyone successfully built custom dragging? How did you do it? Yup. Looks like you found the problem. The solution I've taken is to always return 0 to TrackControl. TrackControl then does a little bit of extra stuff, determines that the mouse button is up and returns the correct part code. -- David W. Berry dwb@well.uucp dwb@Delphi dwb@apple.com 293-0752@408.MaBell