W weekboy Unregistered / Unconfirmed GUEST, unregistred user! 2005-02-06 #3 var S:string;<br>begin<br> S:='aaaaaaaaa'; //默认居左<br> Insert(#9, S, 1); // 居中<br> // Insert(#9#9, S, 1);//居右<br> SendMessage(StatusBar1.Handle, SB_SETTEXT, 1, Integer(PChar(S)));//1是索引<br>end;
var S:string;<br>begin<br> S:='aaaaaaaaa'; //默认居左<br> Insert(#9, S, 1); // 居中<br> // Insert(#9#9, S, 1);//居右<br> SendMessage(StatusBar1.Handle, SB_SETTEXT, 1, Integer(PChar(S)));//1是索引<br>end;
G gbb113 Unregistered / Unconfirmed GUEST, unregistred user! 2005-02-11 #4 您这是Delphi的吧?<br>请问在C语言中怎样做呀?<br>