标题:小恶搞的鼠标左右键转换 大家看下有没问题
只看楼主
smsand
Rank: 1
等 级:新手上路
帖 子:6
专家分:0
注 册:2006-11-10
 问题点数:0 回复次数:3 
小恶搞的鼠标左右键转换 大家看下有没问题

#include<iostream>
#include<windows.h>
#include<stdio.h>
using namespace std;
int main()
{BOOL x;
x=SwapMouseButton(false);
while(1)
{
if(x==true)
x=SwapMouseButton(false);
else
x=SwapMouseButton(true);


Sleep(20);
}
return 0;

}批评是我前进的动力

搜索更多相关主题的帖子: 恶搞 鼠标 
2006-11-26 18:58
Welton
Rank: 2
等 级:论坛游民
帖 子:65
专家分:38
注 册:2006-10-25
得分:0 
挺有趣啊!呵呵

只是喜欢编程而已!
2006-11-28 13:16
yaleond
Rank: 1
等 级:新手上路
帖 子:19
专家分:0
注 册:2006-12-24
得分:0 
比较好玩!
2007-01-05 11:10
yuyunliuhen
Rank: 6Rank: 6
等 级:贵宾
威 望:20
帖 子:1435
专家分:0
注 册:2005-12-12
得分:0 
很有趣啊,还真不习惯用..

Go confidently in the  directions of your dreams,live the life you have imagined!Just do it!
It is no use learning without thinking!
2007-01-05 12:22



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-105505-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.092346 second(s), 7 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved