Dear Actipro,
I've got a problem with catching mouse events. I've got an MDI application, and one of the windows may contain a syntax editor. A user may drag an item off one window, and onto the syntax editor.
I want to handle a MouseHover event, so when the user drags an item and hovers it over the syntax editor, i can bring this window to the front.
My problem is that MouseHover or Editor.ViewMouseHover don't fire on mouse hover if it's a drag operation.
In addition, the PasteDragDrop handler does not have a DragOver source, so the best i can come up with is to handle the PasteDragDrop when the source is PasteDragDropSource.DragEnter and kick off a timer thread that will check if the mouse is still within bounds after half a second (somehow).
A PasteDragDrop.DragLeave would have helped.
Any ideas?
I've got a problem with catching mouse events. I've got an MDI application, and one of the windows may contain a syntax editor. A user may drag an item off one window, and onto the syntax editor.
I want to handle a MouseHover event, so when the user drags an item and hovers it over the syntax editor, i can bring this window to the front.
My problem is that MouseHover or Editor.ViewMouseHover don't fire on mouse hover if it's a drag operation.
In addition, the PasteDragDrop handler does not have a DragOver source, so the best i can come up with is to handle the PasteDragDrop when the source is PasteDragDropSource.DragEnter and kick off a timer thread that will check if the mouse is still within bounds after half a second (somehow).
A PasteDragDrop.DragLeave would have helped.
Any ideas?