Jump to content

CN DROP

From EDM2
Revision as of 22:02, 20 April 2025 by Martini (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This message is sent by the container control to its owner when the container receives a DM_DROP message.

Syntax

param1
USHORT id;          /* Container control ID. */
USHORT CN_DROP;     /* Notification code. */

param2
PCNRDRAGINFO pCnrDragInfo; /* Pointer to a CNRDRAGINFO structure. */

Parameters

id (USHORT) - Input
Container control ID.
CN_DROP (USHORT) - Input
Notification code.
pCnrDragInfo (PCNRDRAGINFO) - Input
Pointer to a CNRDRAGINFO structure.

Returns

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

Remarks

This notification code is sent to the container's owner when dragged container records are dropped over the container window.

Default Processing

The default window procedure does not expect to receive this notification code and therefore takes no action on it other than to return 0.