Jump to content

DM DRAGFILECOMPLETE

From EDM2
Revision as of 02:29, 21 April 2025 by Martini (talk | contribs) (Created page with "This message is sent when a direct manipulation operation on a file or files is complete. ==Syntax== <PRE> param1 HSTR hstr; File handle.: param2 USHORT usOperation; Flags.: </PRE> ==Parameters== ;hstr (HSTR) - Input : File handle. ;usOperation (USHORT) - Input : Flags: ::DF_MOVE: The operation was a move. If this flag is not set, the operation was a copy. ::DF_SOURCE: The receiving window was the source of the drag. If this flag is not set, the...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This message is sent when a direct manipulation operation on a file or files is complete.

Syntax

param1
HSTR hstr;       /* File handle. */

param2
USHORT usOperation; /* Flags. */

Parameters

hstr (HSTR) - Input
File handle.
usOperation (USHORT) - Input
Flags:
DF_MOVE: The operation was a move. If this flag is not set, the operation was a copy.
DF_SOURCE: The receiving window was the source of the drag. If this flag is not set, the receiver was the target of the drop.
DF_SUCCESSFUL: The drag operation was successful for the file. If this flag is not set, the operation failed.

Returns

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

Remarks

hstr is HSTR for the source file if this message is sent by DrgDragFiles, and is HSTR for the target file if this message is sent by DrgAcceptDroppedFiles.

This message is sent by DrgDragFiles to its caller when the move or copy operation is completed, regardless of success or failure. It is also sent by DrgAcceptDroppedFiles when a file has been successfully dropped on the caller.

Default Processing

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