Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!rutgers!im4u!milano!lad-shrike!ut-ngp!rick From: rick@ut-ngp.UUCP (Rick Watson) Newsgroups: comp.windows.x Subject: Keeping the mouse within a window Message-ID: <6908@ut-ngp.UUCP> Date: Mon, 23-Nov-87 11:31:12 EST Article-I.D.: ut-ngp.6908 Posted: Mon Nov 23 11:31:12 1987 Date-Received: Fri, 27-Nov-87 00:01:23 EST Organization: UTexas Computation Center, Austin, Texas Lines: 13 I have an application where I am using mouse movement within a window to control a cursor on another (graphics) display. I use LeaveWindow events to detect when the mouse has gone out of the window bounds and then warp it back inside the window. This works, but tends to be jittery, etc. Is there a better way to constrain mouse movements, that doesn't rely on interaction with the user program? Rick Watson University of Texas Computation Center arpa: ccaw001@utadnx.cc.utexas.edu uucp: ...seismo!ut-sally!ut-ngp!rick bitnet: ccaw001@utadnx span: utspan::watson phone: 512/471-8220 512/471-3241