发信人: redfox (Z掉了几乎所有的版...), 信区: BorlandDev
标 题: Delphi编程 -- 2.5 转换成相对于屏幕上的点
发信站: 哈工大紫丁香 (2000年09月01日13:26:09 星期五), 站内信件
相对于窗体上的点转换成相对于屏幕上的点
方法:
var
MyPoint:TPoint;
ScPoint:TPoint;
begin
MyPoint.x:=1;
MyPoint.y:=2;
ScPoint:=ClientToScreen(MyPoint);
end;
注:ScPoint为相对于屏幕上的点
--
※ 来源:·哈工大紫丁香 bbs.hit.edu.cn·[FROM: 202.118.227.107]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:2.415毫秒