title: WebBrowser: Drag&Drop
body: <p>I want to intercept drag&amp;drop action on WebBrowser control. To be more precise, I want to be able to cancel or approve drag&amp;drop event based on file extension (and process that file outside WebBrowser) and I want to make drag&amp;drop icon look like regular icon: <a href="http://snag.gy/DUjMc.jpg" rel="nofollow noreferrer">http://snag.gy/DUjMc.jpg</a>, not like this one: <a href="http://snag.gy/ExX19.jpg" rel="nofollow noreferrer">http://snag.gy/ExX19.jpg</a>.</p>
  
  <p>I believe for this I need to implement custom IDocHostUIHandler and intercept GetDropTarget. Unfortunately, I have no success in doing that. I am using this code as my 'base' code: <a href="https://stackoverflow.com/a/19739699/2758677">https://stackoverflow.com/a/19739699/2758677</a> and this part, that I made: <a href="http://pastebin.com/Ux947Eck" rel="nofollow noreferrer">http://pastebin.com/Ux947Eck</a>. GetDropTarget is never called.</p>