玻璃的心
1、动态获取鼠标的x、y值,在全局脚本中添加以下代码:POINT myPoint; GetCursorPos(&myPoint);printf("%d/%d\r\n", myPoint.x, myPoint.y); SetTagWord("mouse_x",myPoint.x);SetTagWord("mouse_y",myPoint.y);myPoint.x myPoint.y是已建好的变量2、根据位置判断鼠标是否在该按钮范围,然后决定是否换颜色,很土的一个办法。
楼主最近还看过