Need to display a large amount of text in a view 
Author Message
 Need to display a large amount of text in a view

Quote:

>What's the best method of displaying a large amount of text in an SDI view?
>I've tried using a CString, but there seems to be a limit on the maximum
>length of a CString. The size of the text that I am trying to display is on
>the order of megabytes.

The size limitation is in the CEditView (CEditCtrl), not in CString. If you
need to display more than 64k of characters you must use a CRichEditView.

cU
--

    http://www.*-*-*.com/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Retriever 2.0 is out: http://www.*-*-*.com/

Shareware image viewer, thumbnailer & database
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Sun, 18 Feb 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Help: Need to display a large text file

2. Need help with using large amount of heap!!!

3. Seeking comments -- problems with large text display

4. Need help displaying and scrolling LARGE bitmap

5. Serializing large amounts of data

6. dynamic allocation of large amount of memory

7. Allocatting Large Amounts of Memory (~6 Meg)

8. HELP: Borland C and large amounts of memory

9. List boxes and Large amounts of items

10. large amounts of data in registry?

11. Large amounts of resources

12. CHttpFile and large amounts of data.

 

 
Powered by phpBB® Forum Software