Microsoft
Software
Hardware
Network
Question : 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
Answer : Dragging and MouseMove
Just found that the DragOver event provides Mouse position info and fires whenver the mouse moves.
Thanks
Dan
Random Solutions
File Upload & Download using ASP.net 2.5 & MVC2.0
I changed the motherboard and cpu on a panasonic cf-50 laptop. my hard drive is blue screening because of the new hardware How can I fix this without having to reformat the drive?
Shrink Massive Database? How to estimate how long it will take?
Change font color in access when two criteria are met
Using C# code with VB.Net
Silverlight markup question (Canvas with Nested Grid)
How do I set up a password on Access
Receive an error when migrating site to MOSS 2007
Form_Delete called 2 times when using DEL key on subform
error with web site when it was moved from server 2003 to 2008