Jump to content

DM DRAGOVERNOTIFY: Difference between revisions

From EDM2
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..."
 
No edit summary
 
Line 11: Line 11:


==Parameters==
==Parameters==
;pDraginfo ([[PDRAGINFO]]) - Input
;pDraginfo (P[[DRAGINFO]]) - Input
: Pointer to the [[DRAGINFO]] structure that represents the object being dragged.
: Pointer to the [[DRAGINFO]] structure that represents the object being dragged.
;usDrop ([[USHORT]]) - Input
;usDrop ([[USHORT]]) - Input

Latest revision as of 02:31, 21 April 2025

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.