EN_DROPFILES  G_9G8G 

The EN_DROPFILE notification message notifies a rich edit control s parent window that the user is attempting to drop files into the control. A rich edit control sends this notification message in the form of a WM_NOTIFY1MZT7BR message when it receives the WM_DROPFILESOHACPY message.

EN_DROPFILES

wParam = (WPARAM) (UINT) uID;

lParam = (LPARAM) (ENDROPFILES FAR *) lpEnDropFiles;

 

Parameters

uID

Identifier of the rich edit control.

lpEnDropFiles

Pointer to an ENDROPFILES structure.

 

Return Values

Returns a nonzero value to allow the drop operation or zero to ignore the drop.

Remarks

For a rich edit control to receive WM_DROPFILES messages, the parent window must register the control as a drop target by using the DragAcceptFiles function. The control does not register itself.

See Also

DragAcceptFiles, ENDROPFILES, WM_DROPFILES, WM_NOTIFY