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
Assign XML to variable from FOR XML Path
Small parameter windows appears?
MS Access 2007 create csv file - quit excel object without asking to save.
SQL Query to return Count in Table 2 while also returning the row in Table 1.
I need access to automatically add a modifier to a cpt code listed in an excel spreadsheet if a certain cpt code is entered on the same line
Problem with a recently installed program not appearing in my All Programs List.
When To Use Custom Events
Microsoft Excel 2007: How to find the largest value in one column then displaying a label from the other corresponding column??
changing data from a linked table
Formula " “=SUMPRODUCT” fully function