T tseug Unregistered / Unconfirmed GUEST, unregistred user! 2003-02-03 #2 拦截API....如果是指定进程创建对话框的调用就忽略它
T tseug Unregistered / Unconfirmed GUEST, unregistred user! 2003-02-04 #5 一大堆呢, 呵呵...搜索一下吧...<br>http://www.delphibbs.com/delphibbs/dispq.asp?lid=887904
Z zjxuji Unregistered / Unconfirmed GUEST, unregistred user! 2003-02-05 #6 1.原理:<br> <1>.创建对话框后获取句柄<br> <2>.发运消息关闭对话框<br>2.源程序<br>var<br> MsgDlgHandle: THandle;<br>begin<br> MsgDlgHandle := GetActiveWindow;<br> PostMessage(MsgDlgHandle,WM_CLOSE,0,0);<br>end;
1.原理:<br> <1>.创建对话框后获取句柄<br> <2>.发运消息关闭对话框<br>2.源程序<br>var<br> MsgDlgHandle: THandle;<br>begin<br> MsgDlgHandle := GetActiveWindow;<br> PostMessage(MsgDlgHandle,WM_CLOSE,0,0);<br>end;