CN DRAGLEAVE
Appearance
This message is sent by the container control to its owner when the container receives a DM_DRAGLEAVE message.
Syntax
param1 USHORT id; /* Container control ID. */ USHORT CN_DRAGLEAVE; /* Notification code. */ param2 PCNRDRAGINFO pCnrDragInfo; /* Pointer to a CNRDRAGINFO structure. */
Parameters
- id (USHORT) - Input
- Container control ID.
- CN_DRAGLEAVE (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 owner of the container control in response to a DM_DRAGLEAVE message. It informs the owner that one of the following has occurred:
- A container record was being dragged over the container and has left the container's boundaries.
- The drag ended when help was requested or a user pressed the Esc key while the container record was over the container.
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.