Question Find what mouse buttons are pressed

Use the MouseDown and MouseUp events, e parameter has information about which button is pressed and released. You can cache the information in a MouseButtons variable, this is flags enumeration that can contain the bitwise combination of the values.
 
Back
Top