DrgQueryDragitemCount: Difference between revisions
Appearance
Created page with "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== <pre> #define INCL_WINSTDDRAG →Direct Manipulation (Drag) Functions: #include <os2.h> ULONG cDi..." |
(No difference)
|
Latest revision as of 00:24, 8 April 2025
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);