Y YB_unique Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-05 #2 光标的X,Y值 调用API中的EM_LINEFROMCHAR和EM_LINEINDEX消息来确定<br>鼠标的X,Y值 FormMouseDown中position.x和position.y
光标的X,Y值 调用API中的EM_LINEFROMCHAR和EM_LINEINDEX消息来确定<br>鼠标的X,Y值 FormMouseDown中position.x和position.y
H hunyuan Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-05 #4 鼠标的X,Y值<br>Mouse.CursorPos.Y;<br>mouse.CursorPos.X;
F flysand Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-05 #5 EM_LINEFROMCHAR<br>GetCursorPos<br>只能得到行的位置,如何才能得到X,Y值呢
花 花 儿 Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-05 #6 Mouse.CursorPos.Y;<br>mouse.CursorPos.X;<br>
B bluerain Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-05 #7 GetCursorPos是得到一个TPoint的引用参数,不就有x和y吗.
F flysand Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-05 #8 to bluerain<br> 如何使用
B bluerain Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-05 #9 var<br> P : TPoint;<br>begin<br> GetCursorPos(P);<br> //P.x,P.y就是坐标了.<br>end;
崔 崔占东 Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-11 #11 var<br> p: Tpoint;<br>begin<br> GetCursorPos(p);<br>// p.x和p.y便得到<br>end;