EN_DROPFILES notification code

Notifies a rich edit control parent window that the user is attempting to drop files into the control. A rich edit control sends this notification code in the form of a WM_NOTIFY message when it receives the WM_DROPFILES message.


EN_DROPFILES

      penDropFiles = (ENDROPFILES *) lParam; 

Parameters

lParam

An ENDROPFILES structure that receives dropped files information.

Return value

Return a nonzero value to allow the drop operation.

Return zero to ignore the drop operation.

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.

To receive EN_DROPFILES notification codes, specify ENM_DROPFILES in the mask sent with the EM_SETEVENTMASK message.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Richedit.h

See also

Reference
ENDROPFILES

 

 

Community Additions

ADD
Show:
© 2014 Microsoft