Jump to content

CN INITDRAG: Difference between revisions

From EDM2
Created page with "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== <PRE> param1 USHORT id; Container control ID.: USHORT CN_INITDRAG; Notification code.: param2 PCNRDRAGINIT pCnrDragInit; Pointer to the CNRDRAGINIT structure.: </PRE> ==Parameters== ;id (USHORT) - Input : Container control ID. ;CN_INITDRAG (USHORT) - Input : Noti..."
 
No edit summary
 
Line 15: Line 15:
;CN_INITDRAG ([[USHORT]]) - Input
;CN_INITDRAG ([[USHORT]]) - Input
: Notification code.
: Notification code.
;pCnrDragInit ([[PCNRDRAGINIT]]) - Input
;pCnrDragInit (P[[CNRDRAGINIT]]) - Input
: Pointer to the [[CNRDRAGINIT]] structure.
: Pointer to the [[CNRDRAGINIT]] structure.



Latest revision as of 22:04, 20 April 2025

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.