BCB将RichEdit光标移到最后一行
int linecount=RichEdit1->Lines->Count; RichEdit1-> SelStart=SendMessage(RichEdit1-> Handle,EM_LINEINDEX,linecount,0); RichEdit1-> SelStart=RichEdit1->SelStart+linecount;
好的代码像粥一样,都是用时间熬出来的
int linecount=RichEdit1->Lines->Count; RichEdit1-> SelStart=SendMessage(RichEdit1-> Handle,EM_LINEINDEX,linecount,0); RichEdit1-> SelStart=RichEdit1->SelStart+linecount;