I have a strange problem here.
I am working on an application and in one of my classes I am tracking mouse events.
Strange, my mouse move event is fired only when any mouse button is clicked.
I donβt even filter any button presses inside the method; the method itself is not even called unless I click on this object (the one that tracks it).
What generally causes this type of error?
I'm not sure if this matters, but I have two different things that track my mouse inputs: 1) the main program that controls the global coordinates of the mouse, and 2) the object in my program that controls the coordinates of the mouse inside of me.
Edit So, the problem is that the mouse move event is usually used when people drag the screen to the right? My reason is not that this is because I am creating a custom sort context menu and I need to know when the item is hanging.
source share