I need to simulate the drag & drop of a document onto an application (I have its hWnd)

I think this might be possible with the SendMessage API, but I have no idea how.
How can I do this?