kilmer@hq.af.mil (03/05/91)
Does anyone know how the "button" class tracks the mouse movement when someone presses the left mouse button, then leaves the button window, the proc. that handles the button class is able to track the mouse moving all over the screen, until the user releases the mouse button. Does the proc. issue some type of hook or something??? Thanks for your time, Richard -- -------------------------------------------------------------------------. | Richard Kilmer Kilmer@Opsnet-Pentagon.af.mil | | VAX Systems Analyst (AKA Kilmer@26.24.0.26) | `-------------------------------------------------------------------------'
bonneau@hyper.hyper.com (Paul Bonneau) (03/07/91)
In article <kilmer.668117072@sysp1> kilmer@hq.af.mil writes: >Does anyone know how the "button" class tracks the mouse movement when >someone presses the left mouse button, then leaves the button window, the >proc. that handles the button class is able to track the mouse moving >all over the screen, until the user releases the mouse button. > Try SetCapture() and ReleaseCapture(). cheers - Paul Bonneau.