DrgQueryDragStatus
Appearance
This function determines the status of the current drag operation.
Syntax
DrgQueryDragStatus()
Returns
- rc (ULONG) - returns
- Flag indicating the current drag status.
- 0 - A drag operation is not currently in progress.
- DGS_DRAGINPROGRESS - A standard drag operation is in progress.
- DGS_LAZYDRAGINPROGRESS - A lazy drag operation is in progress.
Example Code
#define INCL_WINSTDDRAG #include <os2.h> if (DrgQueryDragStatus() & DGS_LAZYDRAGINPROGRESS) { . . /* Lazy drag is in progress */ . }