🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.misc
Article #1032

EM_GETLINE Problems (MS-Windows)

#1032
From: Tom Harper
Date: Thu, 22 Sep 1988 23:16
10 lines
835 bytes
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
Technical Details
Message-ID: <4760001@hpindda.HP.COM>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!hpda!hpcuhb!hpindda!thh

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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