Jump to content

DM RENDERFILE

From EDM2

This message is sent to the caller of DrgDragFiles to tell it to render a file.

Syntax

param1
PRENDERFILE rndf;     /* Pointer to a RENDERFILE structure. */

param2
ULONG ulReserved;    /* Reserved value, should be 0. */

Parameters

rndf (PRENDERFILE) - Input
Pointer to a RENDERFILE structure.
ulReserved (ULONG) - Input
Reserved value, should be 0.

Returns

rc (BOOL) - returns
Render handling:
TRUE: The receiver handled the rendering.
FALSE: DrgDragFiles should render this file.

Remarks

This message is sent when DRF_USER is specified in DrgDragFiles. The receiver should perform the operation indicated by the TRUE field in the RENDERFILE structure, moving or copying hstrSource to hstrTarget.

When the operation is complete, a DM_FILERENDERED message should be sent to hwndDragFiles window.

The RENDERFILE structure is allocated temporarily for the receiver of this message. The receiver should make a copy if it needs to use the data in this structure after returning.

Default Processing

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