Making a notepad that handles big files (64k). 
Author Message
 Making a notepad that handles big files (64k).

I've made a little program that looks very much like Notepad, but I'm
having great difficulties in getting it reading big files.

The problem is that I cannot use SetWindowText(String) on my CEditView
when String exceeds something like 60k.

Any help appreciated.

--
/Rohde



Fri, 16 Feb 2001 03:00:00 GMT  
 Making a notepad that handles big files (64k).
I'm afraid you're out of luck, if you're using a regular Win Edit box.
These are limited to 32K for single-line edit ctls, and 64K for multi-line
edit ctls.  These limits are expanded for the rich-edit controls.
Quote:

>I've made a little program that looks very much like Notepad, but I'm
>having great difficulties in getting it reading big files.

>The problem is that I cannot use SetWindowText(String) on my CEditView
>when String exceeds something like 60k.

>Any help appreciated.

>--
>/Rohde



Mon, 19 Feb 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. DLLs, big code and 64K limit with MS FORTRAN v5.1 - *HELP*

2. Newbie question: Making arrays bigger

3. Help making a really big array needed

4. Send file til Notepad?

5. Send file to Notepad?

6. PROBLEM OPENING A FILE WITH NOTEPAD...

7. Notepad file fr Dlg

8. Code to handle bigger numbers wanted!

9. Any code for handling big numbers ?

10. Best error handling mechanism in big ATL projects

11. Newbie: separate big .cs file into small .cs files

12. Sticking .BMP's or .WAV files into one big file

 

 
Powered by phpBB® Forum Software