Jump to content

CN INITDRAG

From EDM2
Revision as of 22:04, 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 drag button is pressed and the pointer is moved while the pointer is over the container control.

Syntax

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

param2
PCNRDRAGINIT pCnrDragInit; /* Pointer to the CNRDRAGINIT structure. */

Parameters

id (USHORT) - Input
Container control ID.
CN_INITDRAG (USHORT) - Input
Notification code.
pCnrDragInit (PCNRDRAGINIT) - Input
Pointer to the CNRDRAGINIT structure.

Returns

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

Remarks

This notification code is sent to the container's owner when the drag button is pressed and the pointer is moved while the pointer is over the container control.

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.