T tsingmei1 Unregistered / Unconfirmed GUEST, unregistred user! 2002-02-21 #1 如何获得窗口左上角的点在屏幕中的坐标?200分! 还有,为什么我在程序中声名一个WINDOWSINFO的对象时,总是提示出错? 我是不是没有包含什么头文件??
P Pipi. Unregistered / Unconfirmed GUEST, unregistred user! 2002-02-21 #3 最简单的是:form的ClientOrigin属性就是了
L lvxq Unregistered / Unconfirmed GUEST, unregistred user! 2002-02-21 #4 var mypoint,mypoint1oint; .... mypoint.x:=; mypoint.y:=; ClientToScreen(Form1.Handle,mypoint1); Showmessage(IntToStr(mypoint1.x)+'*'IntToStr(mypoint1.y)); 你是不是写错了,我没发现WindowsInfo啊,要么是自定义的类
var mypoint,mypoint1oint; .... mypoint.x:=; mypoint.y:=; ClientToScreen(Form1.Handle,mypoint1); Showmessage(IntToStr(mypoint1.x)+'*'IntToStr(mypoint1.y)); 你是不是写错了,我没发现WindowsInfo啊,要么是自定义的类
P Pipi. Unregistered / Unconfirmed GUEST, unregistred user! 2002-02-22 #5 我的更简单: ClientOrigin.x ClientOrigin.y
P Pipi. Unregistered / Unconfirmed GUEST, unregistred user! 2002-02-22 #6 WINDOWINFO就有,WINDOWSINFO就没有