locked
C# figuring out which list item is under the mouse cursor RRS feed

  • Question

  • I have a list box and i want to make a function appear with details about the item under the mouse cursor.

    i'm trying to use the e.Y value of the mousemove event handler with the size of the font to guess what index is under the mouse but it isn't consistent and there's probably a better way. 

    how do i get the index number of the item under the mouse cursor in a mouseMove(event handler) ?


    my code is perfect until i don't find a bug

    Tuesday, November 6, 2018 6:22 PM

All replies

  • You might try a C# or Visual Studio forum to get any kind of reasonable response ...

    peter n roth - http://PNR1.com, Maybe some useful stuff

    Friday, November 9, 2018 3:02 PM