Microsoft SDK for Java

Control.getCapture

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

Syntax

public final boolean getCapture()

Return Value

Returns true if this control has captured the mouse; otherwise, returns false.

Remarks

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

See Also   setCapture

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