home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / mswindo / programm / misc / 1289 < prev    next >
Encoding:
Internet Message Format  |  1992-08-12  |  1.3 KB

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