|
制作QQ消息炸弹(6) if hmemo<>0 then begin if checkbox1.Checked then begin if i>combobox1.Items.Count-1 then i:=0; edit1.Text:=combobox1.Items.Strings[i]; edit1.SelectAll; edit1.CopyToClipboard; sendmessage(hmemo,WM_SETTEXT,0,0); sendmessage(hmemo,WM_PASTE,0,0); sendmessage(hbutton,BM_CLICK,0,0); i:=i+1; end; if checkbox1.Checked=false then begin edit1.Text:=combobox1.Text; edit1.SelectAll; edit1.CopyToClipboard; sendmessage(hmemo,WM_SETTEXT,0,0); sendmessage(hmemo,WM_PASTE,0,0); sendmessage(hbutton,BM_CLICK,0,0); end; end; end; 有需要的朋友请到我的网站去下载(位于我的作品里): 作者网站:ASP.itdrp.com/hottey" target=_blank>http://ASP.itdrp.com/hottey hottey 于2004-5-30日修改
|