如题,我是根据sendmessage函数来做的,如SendMessage(vHandle, 13, s.Length, s);但是就是获取不到数据。。。请高手们解答一下,
问题补充:
StringBuilder sb = new StringBuilder(10000);
IntPtr THandle = FindWindow(null, "mytest.txt - 记事本");
IntPtr IHandle = FindWindowEx(THandle, IntPtr.Zero, "Edit", null);
int line = SendMessage(IHandle, 13, sb.Length, sb);
这是代码