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
T-SQL how to compare two tables from two different database servers
outlook 2007 displays white text
Urgent System.UnauthorizedAccessE<wbr />xception
how can I anonymise name and address data
"vids:l263" error when attempting to play AVI files?
MS Access 10.0 Object Library Reference
How to solve packagefromtheweb limitations in Vista
Visual Studio 2005 Error - Build failed failed because "sgen.exe" was not found
How to overide a Write Conflict
Find and Delete a record on another table