返回列表 回复 发帖

[贴士] 得到鼠标当前位置颜色

在从零开始学起时,在我硬盘上一些曾经帮助我很多的小纸条!--Sz

VBSCall GetCursorPos(x,y)                                  //标注:得到鼠标当前位置  赋到  x y 上
VBSCall color=GetPixelColor(x,y)                    //标注:得到 x    y 上的 颜色
VBSCall MessageBox(color)                         //标注:显示颜色直
简单就好!
返回列表