This example uses DrgQueryDragStatus to determine whether a lazy drag operation is currently in progress.
#define INCL_WINSTDDRAG
#inlcude <os2.h>
if (DrgQueryDragStatus() & DGS_LAZYDRAGINPROGRESS)
{
.
. /* Lazy drag is in progress */
.
{