Basically, I am trying to implement a function in which, if the user presses a key, I want to find out the element under the mouse cursor.
Therefore, I do not use Mouse events, but Keyboard events that do not give me a ListViewItem, of course.
I just don’t know in which space I need to get the mouse position and convert it to a control space.
Any ideas?
source
share