DrgLazyDrop - Example Code

This example uses DrgLazyDrop to perform a drop to a target window, using the copy operation.

#define  INCL_WINSTDDRAG
#include <os2.h>

HWND       hwndTarget;    /* Handle of the Target window */
ULONG      ulDropOp;      /* Operation to be performed on the drop */
POINTL     ptlDrop;       /* Drop location */
BOOL       bSuccess;      /* Return code from API */

ptlDrop.x=5;
ptlDrop.y=10;

usDropOp=DO_COPY;
bSuccess=DrgLazyDrop(hwndTarget, ulDropOp, &ptlDrop);


[Back: DrgLazyDrop - Remarks]
[Next: DrgLazyDrop - Topics]