Path: utzoo!censor!geac!torsqnt!hybrid!scifi!bywater!uunet!kgw2!dennisg From: dennisg@kgw2.bwi.WEC.COM (Dennis Glatting) Newsgroups: comp.sys.next Subject: Re: NeXTstep programming question Keywords: ib nextstep mouse events Message-ID: <1893@kgw2.bwi.WEC.COM> Date: 19 Jan 91 14:52:39 GMT References: <1048@nada.cs.utexas.edu> Sender: dennisg@kgw2.bwi.WEC.COM Reply-To: dennisg@Xetron.COM Organization: Xetron Corporation, Cincinnati Ohio Lines: 36 In article <1048@nada.cs.utexas.edu>, garnett@cs.utexas.edu (John William Garnett) writes: |> Here's the scenario. I have used IB to create a window with a slider |> object. I have been able to connect the output of the slider to a |> custom object. What I would like to be able to do is be able to |> detect each mouseDown event that corresponds to the beginning of |> a movement of the slider. Similarly, I wish to be able to detect |> the mouseUp event that signifies the end of a given slider movement. |> |> It appears that the slider object is absorbing the mouse events |> that are being sent to my application. Does (should?, can?) the |> slider object forward the mouse event message so that other |> program fragments can act on it? I've attempted to figure out |> how to do this from reading the online NeXT docs but have yet |> to have any success. |> slider is a subclass of Responder. what i would do here is to subclass slider and overload the Responder methods of interest. For example, - mouseUp:( NXEvent * )event { [ super mouseUp:event ]; .... your code here ... return self; } -- ..!uunet!kgw2!dennisg | Dennis P. Glatting dennisg@Xetron.COM | X2NeXT developer