home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!prism!cchapman.gatech.edu!cchapman
- From: cchapman@matd.gatech.edu (Charles H. Chapman)
- Newsgroups: comp.os.ms-windows.programmer.misc,comp.windows.ms.programmer
- Subject: Enter key ignored in Multiline Edit Control?
- Message-ID: <cchapman.112.713624708@matd.gatech.edu>
- Date: 12 Aug 92 13:05:08 GMT
- Sender: news@prism.gatech.EDU
- Followup-To: comp.os.ms-windows.programmer.misc
- Organization: Georgia Institute of Technology
- Lines: 22
-
- I know there is probably an easy solution to this problem but I'm
- trying to write a Windows program using Borland C++ 2.0. I've set
- up a dialog box with a multiline edit control but when I hit the
- Enter key while in the edit control nothing happens. If I hit
- Control-Enter or Control-M a carriage return-line feed is entered
- but if I just hit Enter nothing happens.
-
- I set a breakpoint in the dialog procedure to see what messages
- I was receiving. The only message I get when I hit the Enter
- key is 0x0400 which is defined as WM_USER.
-
- I also have an edit control in the main window and that works fine.
- Only in the dialog box are Enters ignored.
-
- Has anyone else had this problem?
-
- Chuck
-
- Charles H. Chapman (GTRI/MATD) (404) 528-7588
- Georgia Institute of Technology, Atlanta Georgia, 30332
- uucp: ...!{allegra,amd,hplabs,ut-ngp}!gatech!matd!cchapman
- Internet: cchapman@matd.gatech.edu
-