Path: utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!hpda!hpcuhb!hpindda!thh From: thh@hpindda.HP.COM (Tom Harper) Newsgroups: comp.windows.misc Subject: EM_GETLINE Problems (MS-Windows) Message-ID: <4760001@hpindda.HP.COM> Date: 22 Sep 88 23:16:03 GMT Organization: HP Information Networks, Cupertino, CA Lines: 10 Has anyone had any problems using EM_GETLINE to suck lines from an edit control? I have a multiline edit control in a dialog box that cannot be DS_LOCALEDIT. Occasionally, a SendMessage(....,EM_GETLINE,..) returns an incomplete line size. EM_LINELENGTH always returns a correct length. Increasing minimum heap size in the .def file helps, but why the edit control needs to allocate space, I don't know; a buffer location and size is passed also (which is locked). Tom Harper thh@hpindda.HP.COM