Microsoft SDK for Java

Control.setCapture

Sets a boolean value indicating whether this control has captured the mouse.

Syntax

public final void setCapture( boolean value )

Parameters

value

Set to true if this control has captured the mouse; otherwise, set to false.

Remarks

When a control has captured the mouse, it receives mouse input whether or not the cursor is within its borders.

See Also   getCapture

© 1999 Microsoft Corporation. All rights reserved. Terms of use.