Click here to Skip to main content
15,902,275 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Getting friend member functions to work Pin
Joel Becker13-Aug-06 11:22
Joel Becker13-Aug-06 11:22 
GeneralRe: Getting friend member functions to work [modified] Pin
Bartosz Bien13-Aug-06 11:47
Bartosz Bien13-Aug-06 11:47 
GeneralRe: Getting friend member functions to work Pin
Joel Becker13-Aug-06 12:22
Joel Becker13-Aug-06 12:22 
QuestionString problem [modified] Pin
73Zeppelin13-Aug-06 1:28
73Zeppelin13-Aug-06 1:28 
GeneralRe: String problem Pin
ovidiucucu13-Aug-06 2:40
ovidiucucu13-Aug-06 2:40 
QuestionHow to print the text in the new line of a multi line edit box . Pin
VCSharp00713-Aug-06 1:02
VCSharp00713-Aug-06 1:02 
AnswerRe: How to print the text in the new line of a multi line edit box . Pin
ovidiucucu13-Aug-06 2:44
ovidiucucu13-Aug-06 2:44 
GeneralRe: How to print the text in the new line of a multi line edit box . Pin
Bram van Kampen13-Aug-06 14:54
Bram van Kampen13-Aug-06 14:54 
At some time in the past, Life was simple, we had telex machines, printing on rolls of paper! In those days, when at the end of a line, the next step was sinple, you send a signal to make the paper advance one line, a \NL symbol, and you followed it by a Carriage Return Symbol, a \CR Symbol! Then the CRT Screen was invented, and everyone took a step back. What shall we bo when we are at the end of a line: Send a NL, Send a CR, or send a totally new magic incantation. There was never any agreement on this issue, and it still seeps through into the WIN32 in unexpected ways. for instance, in opening files. By reason of history, if you open or save a Textfile, e.g. by using FILE f = fopen(!MyFile.txt","a+"), any New Line Char (\n) will actuallly be translated on the fly to a '\r\n' pair. When reading back, every '\r\n' pair will be converted on the fly to be read into memory as a '\n'. You may avoid this translation on the fly by opening your files as "a+b" (b for Binary). The purpose of the above is to explain that Microsoft maintains two text formats, The one used in a Program, and the One stored on File! This is all without good reason, but that's the way it is, anyways. The problem is, that Microsoft is not consistent in how the rule is applied! For some reason, best known to both God and Bill Gates, certain controls expect the '\r\n' pair, or in others the '\n\r' pair to work propperly. Try to replace each '\n' with an '\r\n' or an '\xa','\xd' pair. You may have to copy your strings into a buffer to do so, I've been doing so for a long time, Unfortunately, that's the only way it seems to work! By the way, Your resource NEEDS to be flagged as MULTILINE for any of the above to work!

LateNightsInNewry

QuestionProblem in using GDI+ Pin
Dhananjayak0212-Aug-06 23:44
Dhananjayak0212-Aug-06 23:44 
AnswerRe: Problem in using GDI+ Pin
Stick^13-Aug-06 0:38
Stick^13-Aug-06 0:38 
Questionplease help Pin
jitun_vcpp12-Aug-06 20:56
jitun_vcpp12-Aug-06 20:56 
JokeRe: please help Pin
ovidiucucu13-Aug-06 2:47
ovidiucucu13-Aug-06 2:47 
AnswerRe: please help Pin
Hamid_RT13-Aug-06 9:46
Hamid_RT13-Aug-06 9:46 
AnswerRe: please help Pin
Kevin McFarlane13-Aug-06 10:43
Kevin McFarlane13-Aug-06 10:43 
Questionsystem menu icon on dialog box Pin
Tara1412-Aug-06 20:18
Tara1412-Aug-06 20:18 
AnswerRe: system menu icon on dialog box Pin
Michael Dunn12-Aug-06 21:26
sitebuilderMichael Dunn12-Aug-06 21:26 
GeneralRe: system menu icon on dialog box Pin
Tara1412-Aug-06 22:35
Tara1412-Aug-06 22:35 
GeneralRe: system menu icon on dialog box Pin
premkamalg13-Aug-06 23:44
premkamalg13-Aug-06 23:44 
AnswerRe: system menu icon on dialog box [modified] Pin
DollfaceYY13-Aug-06 15:59
DollfaceYY13-Aug-06 15:59 
QuestionCan vectors really hold classes? Pin
Lord Kixdemp12-Aug-06 14:49
Lord Kixdemp12-Aug-06 14:49 
AnswerRe: Can vectors really hold classes? Pin
Gerald Schwab12-Aug-06 15:14
Gerald Schwab12-Aug-06 15:14 
GeneralRe: Can vectors really hold classes? Pin
Lord Kixdemp12-Aug-06 15:25
Lord Kixdemp12-Aug-06 15:25 
GeneralRe: Can vectors really hold classes? Pin
markkuk13-Aug-06 1:22
markkuk13-Aug-06 1:22 
Questioninsert/add a GIF image in VC++ 6.0 Pin
Dhananjayak0212-Aug-06 9:06
Dhananjayak0212-Aug-06 9:06 
AnswerRe: insert/add a GIF image in VC++ 6.0 Pin
Joe Woodbury12-Aug-06 19:01
professionalJoe Woodbury12-Aug-06 19:01 

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.