wParam = (WPARAM) cchTextMax; // number of characters to copy <br>lParam = (LPARAM) lpszText; // address of buffer for text <br>楼上的参数好像说反了吧<br>另外我自己试了一下<br>var<br> buf : array[0..99] of char;<br><br>PostMessage(self.Edit1.Handle, WM_GETTEXT, 100, Integer(@buf[0]));<br>MessageBox(0, buf, buf, 0);<br>显示不对么。为什么啊