Saturday, December 12, 2009

Swap mouse keys using C


Use this simple prank on ur friends whenever u visit them.See the expression on their face after performing this trick.

This trick interchanges the functions of left & right mouse keys.Compile the below code using any C compilor and run da exe file 
//coded by dineshpvp  
#include
int main()
{
BOOL bOldState;
SystemParametersInfo(SPI_SETMOUSEBUTTONSWAP,TRUE,bOldState, 0);
}
To revert back ,set parameter to FALSE and execute,else change in mouse properties from control panel.

1 comments:

Anonymous said...
This comment has been removed by the author.
 

Computers made easy 4all Copyright © 2009 Gadget Blog is Designed by Ipietoon Sponsored by Online Business Journal