home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!network.ucsd.edu!sdcc12!cs!pluto
- From: pluto@cs.ucsd.edu (Mark Plutowksi)
- Newsgroups: comp.os.ms-windows.programmer.misc
- Subject: Re: How can I get more memory in an edit control?
- Message-ID: <36811@sdcc12.ucsd.edu>
- Date: 13 Aug 92 19:08:23 GMT
- References: <1992Aug13.081826.24581@physics.ucla.edu>
- Sender: news@sdcc12.ucsd.edu
- Lines: 30
- Nntp-Posting-Host: beowulf.ucsd.edu
-
- mmccarri@physics.ucla.edu (Mike McCarrick) writes:
-
- >I think I've seen this before, but I can't find the answer.
- >The edit control that I create in my program runs out of
- >memory after a few hundred characters are typed. How do
- >I get even close to a full 64K of memory for my edit box?
- >I remember something about giving the CreateWindow call
- >a global memory handle instead of my own hInstance handle,
- >but I can't get it to work without more specific instructions.
- >Does anyone have this information handy?
-
- >Thanks in advance.
- >--
- >Dr. Michael McCarrick UCLA Department of Physics
- >Plasma Physics Lab 405 Hilgard Avenue
- >mmccarri@physics.ucla.edu Los Angeles, CA 90024
-
-
- Followup question of mine own along the same vein:
- How does one determine in advance (at creation time of the
- edit window) how many characters will be allowed?
- I was unable to discern this from Borland's docs - none
- of the functions available in the OWL seem pertinent.
- 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!)
-
- Anybody?
-
- thanks,
-
- = Mark
-