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

  1. Path: sparky!uunet!dtix!darwin.sura.net!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!network.ucsd.edu!sdcc12!cs!pluto
  2. From: pluto@cs.ucsd.edu (Mark Plutowksi)
  3. Newsgroups: comp.os.ms-windows.programmer.misc
  4. Subject: Re: How can I get more memory in an edit control?
  5. Message-ID: <36811@sdcc12.ucsd.edu>
  6. Date: 13 Aug 92 19:08:23 GMT
  7. References: <1992Aug13.081826.24581@physics.ucla.edu>
  8. Sender: news@sdcc12.ucsd.edu
  9. Lines: 30
  10. Nntp-Posting-Host: beowulf.ucsd.edu
  11.  
  12. mmccarri@physics.ucla.edu (Mike McCarrick) writes:
  13.  
  14. >I think I've seen this before, but I can't find the answer.
  15. >The edit control that I create in my program runs out of
  16. >memory after a few hundred characters are typed.  How do
  17. >I get even close to a full 64K of memory for my edit box?
  18. >I remember something about giving the CreateWindow call
  19. >a global memory handle instead of my own hInstance handle,
  20. >but I can't get it to work without more specific instructions.
  21. >Does anyone have this information handy?
  22.  
  23. >Thanks in advance.
  24. >-- 
  25. >Dr. Michael McCarrick                   UCLA Department of Physics
  26. >Plasma Physics Lab                              405 Hilgard Avenue
  27. >mmccarri@physics.ucla.edu                    Los Angeles, CA 90024
  28.  
  29.  
  30. Followup question of mine own along the same vein:  
  31. How does one determine in advance (at creation time of the
  32. edit window) how many characters will be allowed?  
  33. I was unable to discern this from Borland's docs - none
  34. of the functions available in the OWL seem pertinent. 
  35. I suspect it will be necessary to go to thego?tZTyU~1|Gt~`d@5down to the   Windows level.  I may be wrong (hope so!)   
  36.  
  37. Anybody?
  38.  
  39. thanks,
  40.  
  41. = Mark
  42.