Sent when the user drops a file on the window of an application that has registered itself as a recipient of dropped files.
WM_DROPFILES
hDrop = (HDROP) wParam;
An application should return zero if it processes this message.
The HDROP handle is declared in Shellapi.h. You must include this header in your build to use WM_DROPFILES. See Transferring Shell Data Using Drag-Drop or the Clipboard for further discussion of how to use drag-drop to transfer shell data.
Windows NT/2000: Requires Windows NT 3.1 or later.
Windows 95/98: Requires Windows 95 or later.
Header: Declared in winuser.h.