I have basically answered my own question. While browsing through the functions of the "Windows" uses clause, I found a function simply called "SwapMouseButton(boolean)". The function will swap the operations of the mouse buttons based on the boolean value you pass into it.
Coupled with using...
TonHu, unfortunately, I don't have the luxury of being able to re-do some of the apps as I have no control on them (believe me, I would like to). So, my question still stands.
I need to do this through a utility. The environment that I'm dealing with is a touchscreen where the user's finger is like a mouse. If they tap the screen, it is interpreted as a left mouse click. There is no way through the touchscreen itself to have a "right-click" operation. So, my idea...
I have a need to develop a utility where a user left (or right) clicks on a button in the form and then their mouse gets mapped so that when they left-click, they will actually perform a right-click instead.
How do I go about remapping mouse buttons?
Thanks in advance.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.