J
jjm1227
Unregistered / Unconfirmed
GUEST, unregistred user!
procedure TForm1.Timer1Timer(Sender: TObject);<br>var<br>f,c:thandle;<br>user:string;<br>begin<br>f:=findwindow('#32770',nil);<br>if f>0 then<br>begin<br>c:=findwindowex(f,0,'ComboBox',nil);<br>if c>0 then<br>begin<br>user:=edit1.Text ;<br>SendMessage(c, WM_SETTEXT, 256,integer(user));<br>[red]在这里怎么写入ctrl+b[/red]<br><br>end;<br>end;