jacobslusser / ScintillaNET

A Windows Forms control, wrapper, and bindings for the Scintilla text editor.
MIT License
967 stars 245 forks source link

scintilla QueryContinueDrag event not firing? #203

Open KarlMicroRobotics opened 8 years ago

KarlMicroRobotics commented 8 years ago

I am trying to detect when a drag operation has been cancelled when the user presses the Esc key. However, the scintilla QueryContinueDrag doesn't appear to fire when the Esc key is pressed.

jacobslusser commented 8 years ago

ScintillaNET has a bumpy history with drag and drop. Search the issues list and code commits for possible insights.

This will take some time to investigate....

jacobslusser commented 8 years ago

Update: I still haven't had time to look at all the issues related to drag and drop. Issue #256 is related to this.

KarlMicroRobotics commented 8 years ago
Thanks for letting me know,
Karl

Karl Lam

Technical Director Micro-Robotics Ltd Registered Office: 135 Ditton Walk, Cambridge CB5 8QB. Tel: 01223 523100. Fax: 01223 524242.

Registered in England No. 03983610 VAT No. GB 393 2883 17 www.microrobotics.co.uk On 31/07/2016 04:21, jacobslusser wrote:

  Update: I still haven't had time to look at all the issues
    related to drag and drop. Issue #256
    is related to this.
  —
    You are receiving this because you authored the thread.
    Reply to this email directly, view
      it on GitHub, or mute
      the thread.
wmjordan commented 7 years ago

Hi, could the native drag drop be manually turned on? I do need the drag & drop feature within Scintilla.

jacobslusser commented 7 years ago

Did you try the workaround described in issue #256 regarding removing the call to NativeMethods.RevokeDragDrop(Handle);?

wmjordan commented 7 years ago

Thanks for replying. I did that and recompiled my own version eventually. I think the textual drag&drop could be a common feature and most developer will like to have it. And dropping other stuff from outside of the control might be less likely required feature. We'd better leave the default drag&drop support on.