Microsoft SDK for Java

queryDragStatus

This method of the DragSource Interface determines the current status of the drag operation.

Syntax

public int queryDragStatus(int modifiers);

Return Value

Returns a drag status flag depending on the current status of the drag session. This value can be one or more of the following drag effects:

CONTINUE, CANCEL, DROP, or DEFAULT ACTION

Parameters

modifiers A flag that indicates the drag modifier for the drag operation. It can be any one of the following drag modifiers:
  LBUTTON, MBUTTON, RBUTTON,
CONTROL, SHIFT, or ALT.

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