Microsoft SDK for Java

queryDragCursor

This method of the DragSource Interface retrieves the current effect image used by the cursor as it drags an object across windows and icons.

Syntax

public Object queryDragCursor(int effect);

Return Value

Returns a cursor object that reflects the specified effect.

Parameters

effect The effect that the cursor provides an image for. This value can be one of the following drag effects:

CONTINUE, CANCEL, DROP, or DEFAULT ACTION


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