Jump to content

DrgQueryDragStatus

From EDM2
Revision as of 00:27, 8 April 2025 by Iturbide (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 */
.
}