• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 299
  • Last Modified:

Dragging and MouseMove

Hi,

I'm adding drag and drop functionality to a custom control that I made.
It is a custom treelist.

I have a MouseMove event that sets HoverIndex to the row that the mouse is hovering over, and the Paint function uses that to draw a box around that row. This works fine.

I have also programmed the drag and drop function to move the rows around the list.

However, whenever i'm dragging, the MouseMove event doesnt trigger, and therefore, whenever i'm dragging, the HoverIndex doesnt get updated.

Can anyone assist in getting MouseMove to trigger during a drag and drop?
Its vb.net 2005.

Thanks
Dan

0
DanJourno
Asked:
DanJourno
1 Solution
 
DanJournoAuthor Commented:
Just found that the DragOver event provides Mouse position info and fires whenver the mouse moves.

Thanks
Dan
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now