Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!bu.edu!orc!inews!iwarp.intel.com!gargoyle!chinet!patrickd From: patrickd@chinet.chi.il.us (Patrick Deupree) Newsgroups: comp.windows.ms Subject: Re: Edit control windows Message-ID: <1990Oct09.032204.1770@chinet.chi.il.us> Date: 9 Oct 90 03:22:04 GMT References: <28340@pasteur.Berkeley.EDU> Organization: DKW Systems Corporation, Dallas, TX Lines: 24 In article <28340@pasteur.Berkeley.EDU> tracy@cory.Berkeley.EDU (Tracy Elmore) writes: > > I have not been able to figure out a way to increase the size of an > edit control. How much text will an edit control handle? I heard > somewhere that it was up to 64K, but I am not sure. If it is 64K > are there ways to increase it? Does the momory model under which > the code was compoiled make a difference? No dice on increasing the "size" of an Edit control. They're stuck at 64K and there's nothing that can be done to increase the size of one. However, it is possible, I think, to subclass the editcontrol and create a "virtual" edit control. One that would load 64K at a time and scroll through the file when it needs more text for the edit control. Due to the adjustments necessary to the scroll bar it's not the easiest process, but I'm pretty sure it's possible. Of course, the other choice is to create you're own edit Window. @:) Patrick -- "What's in a name? That which we call a rose by any other name would smell as sweet." William Shakespeare Patrick Deupree -> patrickd@chinet.chi.il.us (708) 328-3800 (Please note there are both a patrick and a patrickd at this site)