Drag and drop handler

Having problems with building or using the CefGlue .NET/Mono binding? Ask your questions here.

Moderator: fddima

Drag and drop handler

Postby Sonal » Tue Jun 02, 2015 12:37 am

Hi

I know how to enable or disable drag and drop feature in my application. in CefDragHandler there is a OnDragEnter(CefBrowser browser, CefDragData dragData, CefDragOperationsMask mask) using which I can enable or disable drag and drop.

My problem is I want drag and drop only for specific area, the HTML control for which ondragover="allowDrop(event)" is set to true. Right now what is happening is if I enable drag and drop I can put the file anywhere in the browser which is not what I want. If I disable drag and drop I am not able to upload files at the area which allows drop.

What I want is to enable drag and drop only for those HTML div where allowDrop is true and not everywhere.
Please help!
Sonal
Newbie
 
Posts: 4
Joined: Wed Nov 19, 2014 12:01 am

Return to CefGlue Forum

Who is online

Users browsing this forum: No registered users and 20 guests