Jump to content

CN DROPNOTIFY: Difference between revisions

From EDM2
Created page with "This message is sent by the container control to its owner when a pickup set is dropped over the container. ==Syntax== <PRE> param1 USHORT id; Container control ID.: USHORT CN_DROPNOTIFY; Notification code.: param2 PCNRLAZYDRAGINFO pCnrLazyDragInfo; Pointer to the CNRLAZYDRAGINFO structure.: </PRE> ==Parameters== ;id (USHORT) - Input : Container control ID. ;CN_DROPNOTIFY (USHORT) - Input : Notification code. ;pCnrLazyDragInfo ([..."
 
No edit summary
 
Line 15: Line 15:
;CN_DROPNOTIFY ([[USHORT]]) - Input
;CN_DROPNOTIFY ([[USHORT]]) - Input
: Notification code.
: Notification code.
;pCnrLazyDragInfo ([[PCNRLAZYDRAGINFO]]) - Input
;pCnrLazyDragInfo (P[[CNRLAZYDRAGINFO]]) - Input
: Pointer to the [[CNRLAZYDRAGINFO]] structure.
: Pointer to the [[CNRLAZYDRAGINFO]] structure.
: This structure contains information about the [[DRAGINFO]], the [[RECORDCORE]] that was dropped on, and the window handle of the target window.
: This structure contains information about the [[DRAGINFO]], the [[RECORDCORE]] that was dropped on, and the window handle of the target window.

Latest revision as of 22:05, 20 April 2025

This message is sent by the container control to its owner when a pickup set is dropped over the container.

Syntax

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

param2
PCNRLAZYDRAGINFO pCnrLazyDragInfo; /* Pointer to the CNRLAZYDRAGINFO structure. */

Parameters

id (USHORT) - Input
Container control ID.
CN_DROPNOTIFY (USHORT) - Input
Notification code.
pCnrLazyDragInfo (PCNRLAZYDRAGINFO) - Input
Pointer to the CNRLAZYDRAGINFO structure.
This structure contains information about the DRAGINFO, the RECORDCORE that was dropped on, and the window handle of the target window.

Returns

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

Remarks

This notification code is sent to the owner of the container when a lazy drag set is dropped over the container. (The container control receives a DM_DROP message.)

Default Processing

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