Jump to content

DrgQueryDragitemCount

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

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);