M Mini菜鸟 Unregistered / Unconfirmed GUEST, unregistred user! 2004-03-02 #1 获得当前窗口句柄的句柄用什么函数?获得鼠标所在的坐标有什么函数?
H hongxing_dl Unregistered / Unconfirmed GUEST, unregistred user! 2004-03-02 #2 是用自己写的程序控制其他外部程序吧,需要用到hook<br>如果不是,则self.handle就可以了,鼠标坐标onmousemove :)
A andy263 Unregistered / Unconfirmed GUEST, unregistred user! 2004-03-02 #3 var<br>ptMousePos:Tpoint;<br>begin<br>//鼠标位置<br>GetCursorPos(ptMousePos);<br><br>
X XWHope Unregistered / Unconfirmed GUEST, unregistred user! 2004-03-02 #4 GetActiveWindow()<br>GetCursorPos
L liuchengr Unregistered / Unconfirmed GUEST, unregistred user! 2004-03-02 #5 WindowFromPoint<br>GetCursorPos
A app2001 Unregistered / Unconfirmed GUEST, unregistred user! 2004-03-02 #7 http://www.efile.com.cn/eFile/cjsh/CnFindWnd.rar<br>看一下这个例子呗
Y YANGWEI0308 Unregistered / Unconfirmed GUEST, unregistred user! 2004-03-02 #8 handle:= Findwindow(类名,窗口名);//只要设一个,另一个为nil