DrgDrag - Syntax

This function performs a drag operation.

#define INCL_WINSTDDRAG
#include <os2.h>

HWND          hwndSource;   /*  Handle of the source window calling this function. */
PDRAGINFO     pdinfo;       /*  Pointer to the DRAGINFO structure. */
PDRAGIMAGE    pdimg;        /*  Pointer to an array of DRAGIMAGE structures. */
ULONG         cdimg;        /*  Number of DRAGIMAGE structures in the pdimg array. Must be > 0. */
LONG          vkTerminate;  /*  Pointing device button that ends the drag operation. */
PVOID         pRsvd;        /*  Reserved value, must be NULL. */
HWND          hwndDest;     /*  Handle of window on which the dragged objects were dropped. */

hwndDest = DrgDrag(hwndSource, pdinfo, pdimg,
             cdimg, vkTerminate, pRsvd);


[Back: DrgDrag]
[Next: DrgDrag Parameter - hwndSource]