DM DRAGLEAVE: Difference between revisions
Appearance
Created page with "This message is sent to a window that is being dragged over when one of these conditions occur: * The object is dragged outside the boundaries of the window. * The drag operation is terminated while the object is over the window. ==Syntax== <PRE> param1 PDRAGINFO pDraginfo; →Pointer to the DRAGINFO structure for the drag operation.: param2 ULONG ulReserved; →Reserved value, should be 0.: </PRE> ==Parameters== ;pDraginfo (PDRAGINFO) - Input : Pointer to..." |
|||
Line 12: | Line 12: | ||
==Parameters== | ==Parameters== | ||
;pDraginfo ([[ | ;pDraginfo (P[[DRAGINFO]]) - Input | ||
: Pointer to the [[DRAGINFO]] structure for the drag operation. | : Pointer to the [[DRAGINFO]] structure for the drag operation. | ||
;ulReserved ([[ULONG]]) - Input | ;ulReserved ([[ULONG]]) - Input |
Latest revision as of 22:33, 20 April 2025
This message is sent to a window that is being dragged over when one of these conditions occur:
- The object is dragged outside the boundaries of the window.
- The drag operation is terminated while the object is over the window.
Syntax
param1 PDRAGINFO pDraginfo; /* Pointer to the DRAGINFO structure for the drag operation. */ param2 ULONG ulReserved; /* Reserved value, should be 0. */
Parameters
- pDraginfo (PDRAGINFO) - Input
- Pointer to the DRAGINFO structure for the drag operation.
- ulReserved (ULONG) - Input
- Reserved value, should be 0.
Returns
- ulReserved (ULONG) - returns
- Reserved value, should be 0.
Remarks
This message allows for target emphasis and de-emphasis during the direct manipulation process. This message is not sent when a drop occurs. Use DM_DROP as a signal to remove the target emphasis.
Default Processing
The WinDefWindowProc function does not expect to receive this message and takes no action on it other than to return 0.