Jump to content

DM DRAGLEAVE

From EDM2

This message is sent to a window that is being dragged over when one of these conditions occur:

  • The object is dragged outside the boundaries of the window.
  • The drag operation is terminated while the object is over the window.

Syntax

param1
PDRAGINFO pDraginfo;   /* Pointer to the DRAGINFO structure for the drag operation. */

param2
ULONG ulReserved;    /* Reserved value, should be 0. */

Parameters

pDraginfo (PDRAGINFO) - Input
Pointer to the DRAGINFO structure for the drag operation.
ulReserved (ULONG) - Input
Reserved value, should be 0.

Returns

ulReserved (ULONG) - returns
Reserved value, should be 0.

Remarks

This message allows for target emphasis and de-emphasis during the direct manipulation process. This message is not sent when a drop occurs. Use DM_DROP as a signal to remove the target emphasis.

Default Processing

The WinDefWindowProc function does not expect to receive this message and takes no action on it other than to return 0.