Jump to content

DM ENDCONVERSATION

From EDM2

The target uses this message to notify a source that a drag operation is complete.

Syntax

param1
ULONG ulItemID; /* Item ID. */

param2
ULONG ulFlags;  /* Flags. */

Parameters

ulItemID (ULONG) - Input
The ulItemID from the DRAGITEM that was contained within the DRAGINFO structure when the object was dropped.
ulFlags (ULONG) - Input
Flags. The flags are set as follows:
DMFL_TARGETSUCCESSFUL: The target successfully completed its portion of the rendering operation.
DMFL_TARGETFAIL: The target failed to complete its portion of the rendering operation.

Returns

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

Remarks

This message is used to inform a source that the target has completed its part of a rendering operation. It is sent by the target to the source.

The target must send this message under any of the following circumstances:

  • The target receives a DM_RENDERCOMPLETE message and will not retry the operation.
  • The target completes the rendering operation without involvement from the source.
  • The target wants to terminate a rendering operation in progress.
  • The target chooses not to render an object that was dropped on it.

Default Processing

The WinDefWindowProc function does not expect to receive this message and takes no action other than to return 0.