请教各位老师RichText控件如何获取行数,某行的文字?
RichText内有多个自然段,想得到一共有多少行,取出某行的文字,谢谢
Declare long SendMessage in win32api long hwnd , long wMsg , long wParam , long lParam
LineCount = SendMessage(RichTextBox1.hwnd,0xba, 0, 0)