Jump to content

DM DRAGOVERNOTIFY

From EDM2
Revision as of 02:30, 21 April 2025 by Martini (talk | contribs) (Created page with "This message is sent to the source of a drag operation immediately after a DM_DRAGOVER message is sent to a target window. '''param2''' is the target's reply to the DM_DRAGOVER message. ==Syntax== <PRE> param1 PDRAGINFO pDraginfo; Pointer to the DRAGINFO structure that represents the object being dragged.: param2 USHORT usDrop; Drop indicator.: USHORT usDefaultOp; Default operation.: </PRE> ==Parameters== ;pDraginfo (PDRAGINFO) - Inp...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This message is sent to the source of a drag operation immediately after a DM_DRAGOVER message is sent to a target window. param2 is the target's reply to the DM_DRAGOVER message.

Syntax

param1
PDRAGINFO pDraginfo;   /* Pointer to the DRAGINFO structure that represents the object being dragged. */

param2
USHORT usDrop;       /* Drop indicator. */
USHORT usDefaultOp;  /* Default operation. */

Parameters

pDraginfo (PDRAGINFO) - Input
Pointer to the DRAGINFO structure that represents the object being dragged.
usDrop (USHORT) - Input
Drop indicator.
usDefaultOp (USHORT) - Input
Default operation. Target-defined default operation.

Returns

ulReserved (ULONG) - returns
Reserved value.

Remarks

The source window can use this message to modify its behavior or appearance based on a target window's response to the DM_DRAGOVER message.

See DM_DRAGOVER for a description of the target window's possible responses.

Default Processing

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