AllAPI Network - The KPD-Team

Allapi Network

 API List

API Resources
 Tips & Tricks
 VB Tutorials
 Error Lookup
Misc Stuff
 VB examples
 VB Tools
 VB Links
 Top Downloads
This Site
 Search Engine
 Contact Form

Donate to

How do I swap the mouse buttons?

Use the API Function SwapMouseButton to swap the functions of the Left and Right mouse buttons. The declare for this function is:

Declare Function SwapMouseButton& Lib "user32" _
(ByVal bSwap as long)                 

To swap the mouse buttons, call this function with the variable bSwap = True. Set bSwap to False to restore normal operation.< /FONT >



Copyright © 1998-2007, The Team - Privacy statement
Did you find a bug on this page? Tell us!
This site is located at