Joe Strazzere - All Things Quality

Visit my new blog at http://strazzere.blogspot.com/


December 1, 2005 - WinTask - SwapMouseButton

Posted in WinTask

'
' SwapMouseButton - reverses or restores the meaning of the left and right mouse buttons.
'

' Author: Joe Strazzere
'

 

Function SwapMouseButton(int)
    External("user32","SwapMouseButton", int)
EndFunction

 

'
' To swap the buttons, call it this way:
'
SwapMouseButton(1)


msgbox("The buttons have been reversed.  Try it here!")

 

'
' To restore the buttons, call it this way:
'
SwapMouseButton(0)

msgbox("The buttons have been restored.  Try it here!")


<- Last Page :: Next Page ->

About Me

A gathering place for information and ideas about Quality Assurance, Testing, and other useful topics.

Problems cannot be solved by the same level of thinking that created them. - A. Einstein

Search This Site

Translate This Site

RSS Feed

Subscribe

Twitter

@jstrazzere

Categories

Life
QA
Sports
Tools
WinTask
Work in General

What I'm Reading Now