Getting MouseButton event when it happens, not when it is released
-
19-06-2021 - |
Pergunta
Simply put, I want to be able to get the event of a mouseclick (specifically MiddleButton) when a user clicks the button - not after it's been released.
I think I've done it once before, but I've forgotten.
This is to be able to navigate a 3D view when the user clicks the button, in an XNA project.
Are there any similiar ways to register HotKeys but for the Mouse?
Solução
Isn't that just the MouseDown
event?
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow