Jump to content

DrgCancelLazyDrag

From EDM2

This function is called to cancel the current drag operation.

Syntax

DrgCancelLazyDrag()

Returns

rc (BOOL) - returns
Success indicator.
TRUE - Lazy drag is successfully canceled.
FALSE - An error occurred.

Remarks

This function posts the DM_DROPNOTIFY message to the source window, specifying a target window handle of zero in hwndTarget. The source window must then free DRAGINFO using DrgFreeDraginfo.

Example Code

#define INCL_WINSTDDRAG
#include <os2.h>

BOOL bResult; /* Return code from API */

bResult=DrgCancelLazyDrag();