DrgQueryDragStatus: Difference between revisions
Appearance
Created page with "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== <pre> #define INCL_WINSTDDRAG #include <os2.h> if (DrgQueryDragStatus() & DGS_LAZYDRAGIN..." |
(No difference)
|
Latest revision as of 00:27, 8 April 2025
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 */ . }