L
liudonghui
Unregistered / Unconfirmed
GUEST, unregistred user!
如何获取外部程序的某个button控件获得了焦点的消息.<br> 问题一、应该用setwindowshookex(WH_CALLWNDPROC ,@hookproc,hinstance,0),还是<br> setwindowshookex(WH_GETMESSAGE ,@hookproc,hinstance,0)<br> 问题二、在上面的函数hookproc应使用什么参数,是<br> msg:=peventmsg(lparam)^;<br> if msg.message=wm_setfocus then<br> begin<br> end;<br> 吗?