Click here to Skip to main content
15,848,580 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generaldocking a modeless dialog Pin
novachen3-Nov-03 17:53
novachen3-Nov-03 17:53 
GeneralRe: docking a modeless dialog Pin
souldog3-Nov-03 19:35
souldog3-Nov-03 19:35 
GeneralRe: docking a modeless dialog Pin
novachen4-Nov-03 2:22
novachen4-Nov-03 2:22 
GeneralGetting available space in window Pin
FearlessBurner4-Nov-03 3:22
FearlessBurner4-Nov-03 3:22 
QuestionI can't even display the file to screen? Pin
Link26003-Nov-03 17:26
Link26003-Nov-03 17:26 
AnswerRe: I can't even display the file to screen? Pin
Link26003-Nov-03 17:51
Link26003-Nov-03 17:51 
GeneralRe: I can't even display the file to screen? Pin
ZoogieZork3-Nov-03 19:05
ZoogieZork3-Nov-03 19:05 
GeneralRe: I can't even display the file to screen? Pin
Link26003-Nov-03 19:49
Link26003-Nov-03 19:49 
Thanks for your reply.

Right now I'm really having a diffcult time to develop the
algorithm to display only the first 4 lines and last 4 lines.

I'm trying to put the stream into the string object, line,
and using string class function to display the last 4 lines.

However, I can only display the first 4 lines. How can I display
the middle one and the last 4 lines?

Any input? Algorithm? Opinions?
Thanks.

Sample run looks like this:
This is line 1.
This is line 2.
This is line 3.
This is line 4.
.
.
.
This is line 12.
This is line 13.
This is line 14.
This is line 15.
GeneralAlgorithm? Pin
wogerdoger4-Nov-03 6:03
wogerdoger4-Nov-03 6:03 
Generalheight of the header of window Pin
novachen3-Nov-03 17:01
novachen3-Nov-03 17:01 
GeneralRe: height of the header of window Pin
souldog3-Nov-03 19:37
souldog3-Nov-03 19:37 
GeneralRe: height of the header of window Pin
Michael Dunn3-Nov-03 20:14
sitebuilderMichael Dunn3-Nov-03 20:14 
Questiondoes control have contextmenu? Pin
chriss_rook3-Nov-03 14:52
chriss_rook3-Nov-03 14:52 
AnswerRe: does control have contextmenu? Pin
cmk4-Nov-03 0:20
cmk4-Nov-03 0:20 
QuestionHow to Duplicate a Printer Pin
Paul Farry3-Nov-03 14:46
professionalPaul Farry3-Nov-03 14:46 
QuestionHow can my window under any other application window? Pin
golden06063-Nov-03 14:32
golden06063-Nov-03 14:32 
QuestionHow do you use MM_ISOTROPIC mode with a CScrollView? Pin
cdsmith3-Nov-03 12:56
cdsmith3-Nov-03 12:56 
AnswerRe: How do you use MM_ISOTROPIC mode with a CScrollView? Pin
souldog3-Nov-03 19:42
souldog3-Nov-03 19:42 
GeneralXP and Single Instance; Pin
Bo Hunter3-Nov-03 12:54
Bo Hunter3-Nov-03 12:54 
GeneralRe: XP and Single Instance; Pin
Anthony_Yio3-Nov-03 20:24
Anthony_Yio3-Nov-03 20:24 
QuestionMaximum Ethernet Cards and IPs per Card? Pin
dafunkt3-Nov-03 9:54
dafunkt3-Nov-03 9:54 
AnswerRe: Maximum Ethernet Cards and IPs per Card? Pin
Jeryth3-Nov-03 11:27
Jeryth3-Nov-03 11:27 
GeneralRe: Maximum Ethernet Cards and IPs per Card? Pin
dafunkt3-Nov-03 11:32
dafunkt3-Nov-03 11:32 
GeneralProbelm when window close Pin
Shay Harel3-Nov-03 8:58
Shay Harel3-Nov-03 8:58 
GeneralRe: Probelm when window close Pin
Anthony_Yio3-Nov-03 21:35
Anthony_Yio3-Nov-03 21:35 

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.