Click here to Skip to main content
15,913,773 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to detect that a drive is a DVD ? Pin
Abbas_Riazi10-Feb-03 9:02
professionalAbbas_Riazi10-Feb-03 9:02 
AnswerRe: How to detect that a drive is a DVD ? Pin
Mike Nordell10-Feb-03 11:29
Mike Nordell10-Feb-03 11:29 
GeneralRe: How to detect that a drive is a DVD ? Pin
olivier10-Feb-03 23:07
olivier10-Feb-03 23:07 
AnswerThis is the solution Pin
olivier10-Feb-03 23:06
olivier10-Feb-03 23:06 
GeneralMath question.. strings and int's.. Pin
RobJones10-Feb-03 4:24
RobJones10-Feb-03 4:24 
GeneralRe: Math question.. strings and int's.. Pin
Chris Losinger10-Feb-03 4:27
professionalChris Losinger10-Feb-03 4:27 
GeneralRe: Math question.. strings and int's.. Pin
RobJones10-Feb-03 4:55
RobJones10-Feb-03 4:55 
GeneralView large text files. Pin
Mathias S.10-Feb-03 4:13
Mathias S.10-Feb-03 4:13 
I need some tips on what is the best way to fix this.

I need a way to view a log file in my program.
The log file is in standard ASCII text format.
But problem is that the log file can be 2-300 MB big.
And I don't want to load the whole file into memory.
So I can’t use the standard CEdit.

Anyone know if there exists any controller for this?
Maybe an enhanced read-only CEdit controller that supports what I need?
Someone must have needed to do this before.
Or I need to start coding something my self. If so What’s best way to do it ?

Is it to create a new controller inherited from CEdit and only show the first 100 lines and manipulate the scroll bar to fool the user that there are more to show and when user scrolls down read in the next 100 lines (depends on how much was scrolled ofcourse) from the log file and show that? Any ides and tips are appreciated.

/Mathias

GeneralRe: View large text files. Pin
Navin10-Feb-03 4:38
Navin10-Feb-03 4:38 
GeneralRe: View large text files. Pin
Ted Ferenc10-Feb-03 6:33
Ted Ferenc10-Feb-03 6:33 
GeneralRe: View large text files. Pin
David Chamberlain10-Feb-03 6:47
David Chamberlain10-Feb-03 6:47 
GeneralRe: View large text files. Yes MMF. Pin
Neville Franks10-Feb-03 9:07
Neville Franks10-Feb-03 9:07 
GeneralSetWindowPos and GetWindowRec Pin
jeremysay10-Feb-03 3:54
jeremysay10-Feb-03 3:54 
GeneralRe: SetWindowPos and GetWindowRec Pin
HENDRIK R10-Feb-03 4:00
HENDRIK R10-Feb-03 4:00 
GeneralRe: SetWindowPos and GetWindowRec Pin
jeremysay10-Feb-03 4:26
jeremysay10-Feb-03 4:26 
GeneralRe: SetWindowPos and GetWindowRec Pin
HENDRIK R10-Feb-03 5:19
HENDRIK R10-Feb-03 5:19 
GeneralRe: SetWindowPos and GetWindowRec Pin
jeremysay10-Feb-03 20:56
jeremysay10-Feb-03 20:56 
GeneralRe: SetWindowPos and GetWindowRec Pin
HENDRIK R10-Feb-03 21:12
HENDRIK R10-Feb-03 21:12 
GeneralRe: SetWindowPos and GetWindowRec Pin
jeremysay10-Feb-03 21:25
jeremysay10-Feb-03 21:25 
GeneralRe: SetWindowPos and GetWindowRec Pin
HENDRIK R10-Feb-03 21:56
HENDRIK R10-Feb-03 21:56 
GeneralRe: SetWindowPos and GetWindowRec Pin
jeremysay10-Feb-03 21:37
jeremysay10-Feb-03 21:37 
GeneralRe: SetWindowPos and GetWindowRec Pin
HENDRIK R10-Feb-03 21:52
HENDRIK R10-Feb-03 21:52 
GeneralRe: SetWindowPos and GetWindowRec Pin
jeremysay10-Feb-03 22:23
jeremysay10-Feb-03 22:23 
GeneralRe: SetWindowPos and GetWindowRec Pin
HENDRIK R10-Feb-03 22:30
HENDRIK R10-Feb-03 22:30 
GeneralRe: SetWindowPos and GetWindowRec Pin
HENDRIK R10-Feb-03 22:36
HENDRIK R10-Feb-03 22:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.