DM DRAGFILECOMPLETE
Appearance
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.