Delphi 学习大师
会员中心
搜索
Delphi 学习大师
文章详情
副标题
Delphi中限制鼠标的移动区域
2018-10-31
下面把鼠标的移动区域限制在(100,100,200,200)
var
rect:TRect;
begin
rect.Left:=100;
rect.Top:=100;
rect.Bottom:=200;
rect.Right:=200;
windows.ClipCursor(@rect);
end;
恢复鼠标的移动区域
windows.ClipCursor(0);
键盘鼠标
阅读10
发表评论
登录评论
匿名评论
提交
提交