API或MFC视窗程序里有函数,例如API函数设位置:BOOLSetCursorPos(intx,inty);参数是屏幕坐标x,y头文件Winuser.h链接库#pragmacomment(lib,"User32.lib")或取位置GetCursorPos(&p);显示鼠标intShowCursor(BOOLbShow);
顶一下

(0)
0%
踩一下

(0)
0%
- 相关评论
- 我要评论
-