DrgQueryDragitemCount
Appearance
This function returns the number of objects being dragged during the current direct manipulation operation.
Syntax
DrgQueryDragitemCount(pdinfo)
Parameters
- pdinfo (PDRAGINFO) - input
- Pointer to the DRAGINFO structure for which number of dragged objects is requested.
Returns
- cDitem (ULONG) - returns
- Number of objects being dragged.
Example Code
#define INCL_WINSTDDRAG /* Direct Manipulation (Drag) Functions */ #include <os2.h> ULONG cDitem; /* Number of objects being dragged */ DRAGINFO Draginfo; /* DRAGINFO structure queried for the */ /* number of drag objects */ cDitem = DrgQueryDragitemCount(&Draginfo);