秀 秀 Unregistered / Unconfirmed GUEST, unregistred user! 2003-03-02 #2 threaddone方法 是什么?TThread和 WinAPI中都找不到......
S smokingroom Unregistered / Unconfirmed GUEST, unregistred user! 2003-03-11 #3 我想楼主指的是线程结束时,发出一个ThreadDone自定消息,让主线程接收并处理吧. private procedure ThreadDone(var Message:TMessage);message WM_ThreadDone; ... ... procedure ThreadDone(var Message:TMessage); begin //写上处理语句 end;
我想楼主指的是线程结束时,发出一个ThreadDone自定消息,让主线程接收并处理吧. private procedure ThreadDone(var Message:TMessage);message WM_ThreadDone; ... ... procedure ThreadDone(var Message:TMessage); begin //写上处理语句 end;
张 张无忌 Unregistered / Unconfirmed GUEST, unregistred user! 2003-03-11 #4 线程类有个属性就是线程结束以后执行的函数,你用TThread.onte*****属性就可以了