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
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|
See also
-
Reference