??!!!! Problem with scrolling and big files in MFC
-
I Need help.. I am development a program that you can use to view big log-files, in size about 10MB. I have to use MFC, but I prefer Win32 API. In Win32, I already solved the problem. I use memory-mapped files to store the file in virtual memory, but I want to read directly from the file..?? Now I read the file to a String and then mapping it. Then a use Pointer to show the text in a window and that is my second problem. I get the String in one single line (no return). In Win32, I used to send the String with a SendMessage to the hWnd window. The third problem is with scrolling windows. In Win32 I only create a child window with WS_VSCROLL | WS_HSCROLL and then no problem.......... I get mad about MFC you do not have it under control.... I think that more people have same problem as me. I really need some code-examples how to manage memory-mapping, scrolling and text. Thank you..