Hey folks having issues finding any info on how I might remap the left click event in C# to be a right click event.
For example, everytime the user left clicks on a DataGrid in my application I want to be able to capture the left click and map it to a right click. So how do I simulate a right click every time the left click on the mouse is used. I've found some old .net2.0 examples where some C++ was ported over to C# to allow simulating clicks but I don't think it would be suitable and I don't truly understand what it was doing.
Any help appreciated. Thanks!