FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version

wait-for-drag

Arguments: nil

This function may be used to determine whether the user is trying to initiate a drag, rather than performing a simple click. An application may want to initiate a drag-and-drop in a mouse-left-down method only if this function returns true, for example.

wait-for-drag waits until either the left mouse button is up or until the mouse moves at least *start-drag-slack* pixels from where it was when wait-for-drag was called, and then returns. If the left mouse button was pressed when wait-for-drag was called and continues to be pressed until the mouse moves at least *start-drag-slack* pixels, then true is returned; otherwise nil is returned.


Copyright (c) 1998-2016, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.1 page.
Created 2010.1.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version