I'm currently intercepting the OnDragEnter
event that CefSharp provides, but I want to handle the OnDragDrop
event which does not exist. I am already handling the form's drop drop event and I've set form.AllowDrop = true
, but since CEF intercepts the drag, I cannot handle it in the form!
In IDragHandler.OnDragEnter
:
true
, then the user cannot drag anything on the browser (and I don't get the event);false
, then the user can drag a file, but CefSharp handles it internally! (and I don't get the event)So either ways I'm jammed. Is there any way to properly implement drag & drop in CefSharp, such that CefSharp/CEF does NOT do its default behaviour, and such that I get the DROP event handler. (or similar)
Alternatively, if CefSharp can use RevokeDragDrop (also here) in the OnDragEnter
event, (in response to AllowDrop = false
) then I can handle the drop event on the form itself.
Alternatively, If I can get access to these CEF flags then I can disable the internal drag/drop entirely and so fallback to the form's handling. Edit: Not possible in CEF3.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4