Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!uunet!lotus!targhee!cwolpert From: cwolpert@targhee.lotus.com (Craig Wolpert) Newsgroups: comp.windows.ms.programmer Subject: Edit Control Questions: EN_MAXTEXT and EM_SETWORDBREAK Keywords: Edit Control Message-ID: <1990Dec14.154202@targhee.lotus.com> Date: 14 Dec 90 20:42:02 GMT Sender: news@lotus.com Reply-To: cwolpert@targhee.lotus.com (Craig Wolpert) Organization: Lotus Development Corporation - Cambridge, MA Lines: 20 I have two specific questions related to the Windows Edit Control. The EN_MAXTEXT notification works as documented in a single-line Edit Control (ES_MULTILINE isn't set). Should the EN_MAXTEXT notification be sent to the control's parent in a multi-ine Edit Control (ES_MULTILINE is set)? I can't get the EM_SETWORDBREAK message to work. I have followed the instructions on page 6-29 of the Manual "Reference-Volume 1". I am using MakeProcInstance and I have exported the function name. I assume that my "WordBreakFunc" will be called whenever text reaches the right margin. Has anyone used EM_SETWORDBREAK? Craig =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= Craig Wolpert Internet: cwolpert@lotus.com Lotus Development Corporation Phone: (617) 693-5892 Cambridge, MA 02142