Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!ginosko!uunet!munnari.oz.au!murtoa.cs.mu.oz.au!rob
From: rob@cs.mu.oz.au (Robert Wallen)
Newsgroups: comp.sys.mac.programmer
Subject: Re: TrackControl() problems
Keywords: TrackControl, CDEF
Message-ID: <2840@murtoa.cs.mu.oz.au>
Date: 27 Sep 89 08:36:02 GMT
References: <2838@murtoa.cs.mu.oz.au> <32458@srcsip.UUCP>
Reply-To: rob@murtoa.UUCP (Robert Wallen)
Organization: Comp Sci, Melbourne Uni, Australia
Lines: 25

In <32458@srcsip.UUCP> mnkonar@src.honeywell.com (Murat N. Konar) writes:
> In  I wrote ..... [ about custom CDEFS and autotracking]
>>Should TrackControl() be returning zero if the mouse was released outside
>>the active area, or should my caller just ignore TrackControl's return value?
>
>Let's see.  I think I understand what your problem seems to be.  If
>the following makes no sense, please try to clarify the problem. 
>
>TrackControl will return 0 if you release the mouse button outside of
>the part you started in.  If the part is an indicator (like the thumb 

Nope.  It returns inButton even if I release the mouse outside the control.

>the explanation I can give with a degree of certainty.  Check
>to see if the partcode your CDEF is returning is the one for
>an indicator (254, I think).  I bet this is your problem.

Nope.  inButton.  Nice try though.  Anyone else got any ideas?

Thanx for answering,   Rob

--------------
"I meant," said Ipslore, bitterly, "what is there in this world that makes
living worth while?"  Death thought about it.  CATS, he said eventually,
CATS ARE NICE.   -- Sourcery,  Terry Pratchett