🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #3289

Multiline Edit Control in Dialog

#3289
From: Stergios
Date: Tue, 18 Jun 1991 15:34
34 lines
1418 bytes

Hi Gang, got a question/problem I hope you can help me with.

SYNOPSIS: 
	Multiline edit control causes dialog box to go away when the
return key is pressed.

DESCRIPTION:
	I have a multiline edit crontrol in a dialog box. The flags
for the edit crontrol appearing in the resource are:

	ES_MULTILINE | WS _TABSTOP | WS_BORDER | WS_VISBLE | WS_CHILD

Nothing fancy about that.  I have tried adding ES_AUTOVSCROLL.  The
multiline edit would then automatically scroll when it was time to
wordwrap, as one would expect, but still exhibit the same behaviour
when the return key was pressed. 

Could it be that a dialog default push button listens on the input
stream and accepts all returns no matter where the input focus is?

Obviously, I do not completely understand dialogs. Can some clear
things up for me?

Thanks,

Stergios Marinopoulos
stergios@kt22.Stanford.EDU


--
Stergios Marinopoulos
stergios@kt22.Stanford.EDU
Technical Details
Message-ID: <STERGIOS.91Jun18103411@kt22.Stanford.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!stanford.edu!leland.Stanford.EDU!stergios

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!stanford.edu!leland.Stanford.EDU!stergios
From: stergios@portia.Stanford.EDU (Stergios)
Newsgroups: comp.windows.ms.programmer
Subject: Multiline Edit Control in Dialog
Message-ID: <STERGIOS.91Jun18103411@kt22.Stanford.EDU>
Date: 18 Jun 91 15:34:11 GMT
Sender: news@leland.Stanford.EDU (Mr News)
Reply-To: stergios@kt22.Stanford.EDU
Organization: AIR, Stanford University
Lines: 34