Click here to Skip to main content
15,896,512 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: HTML Encode a string Pin
BadJerry4-Nov-03 11:50
BadJerry4-Nov-03 11:50 
GeneralRe: HTML Encode a string Pin
Terry O'Nolley4-Nov-03 13:09
Terry O'Nolley4-Nov-03 13:09 
GeneralReBar with ComboBox Pin
Cynicannibal4-Nov-03 7:17
Cynicannibal4-Nov-03 7:17 
GeneralCDataGrid Pin
vancouver7774-Nov-03 7:01
vancouver7774-Nov-03 7:01 
GeneralPausing a download thread Pin
Todd Smith4-Nov-03 6:14
Todd Smith4-Nov-03 6:14 
GeneralRe: Pausing a download thread Pin
valikac5-Nov-03 6:18
valikac5-Nov-03 6:18 
GeneralProblem with notepad and Edit box Pin
Deepak Samuel4-Nov-03 4:34
Deepak Samuel4-Nov-03 4:34 
GeneralRe: Problem with notepad and Edit box Pin
David Crow4-Nov-03 4:44
David Crow4-Nov-03 4:44 
Deepak Samuel wrote:
save to a notepad file

I assume you meant text file, as "notepad file" is meaningless. Are you using a CStdioFile object?

Deepak Samuel wrote:
str.Format("DATE:\r\n TIME:\r\n");

As long as the edit control has the ES_MULTILINE style, this will work.

Deepak Samuel wrote:
is there any other way to print a multiline message in a edit box without using \r\n?

No.

When writing to text files, take into account that the newline character (0x0A) is translated to a byte pair (0x0D, 0x0A), and when reading from text files, the byte pair (0x0A, 0x0D) is translated to a single 0x0A byte.


Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?

QuestionNetwork/Internet : Catching file-requests ..? Pin
Led4-Nov-03 4:21
Led4-Nov-03 4:21 
AnswerRe: Network/Internet : Catching file-requests ..? Pin
valikac4-Nov-03 5:39
valikac4-Nov-03 5:39 
GeneralStored procedures and CRecordSet Pin
pankajdaga4-Nov-03 3:15
pankajdaga4-Nov-03 3:15 
GeneralRe: Stored procedures and CRecordSet Pin
Chris Meech4-Nov-03 3:43
Chris Meech4-Nov-03 3:43 
GeneralRe: Stored procedures and CRecordSet Pin
pankajdaga4-Nov-03 4:06
pankajdaga4-Nov-03 4:06 
GeneralRe: Stored procedures and CRecordSet Pin
Michael P Butler4-Nov-03 5:34
Michael P Butler4-Nov-03 5:34 
GeneralRe: Stored procedures and CRecordSet Pin
pankajdaga4-Nov-03 6:14
pankajdaga4-Nov-03 6:14 
GeneralAppwizard Project Settings Pin
Eran4-Nov-03 2:49
Eran4-Nov-03 2:49 
GeneralCScrollBar SB codes Pin
ns4-Nov-03 2:46
ns4-Nov-03 2:46 
Questionhow to delete, or rewrite Pin
don7cry4-Nov-03 2:43
don7cry4-Nov-03 2:43 
AnswerRe: how to delete, or rewrite Pin
valikac4-Nov-03 5:42
valikac4-Nov-03 5:42 
GeneralStretchBlt function Pin
El'Cachubrey4-Nov-03 2:14
El'Cachubrey4-Nov-03 2:14 
GeneralRe: StretchBlt function Pin
Terry O'Nolley4-Nov-03 8:47
Terry O'Nolley4-Nov-03 8:47 
GeneralEncryption by A5/3 of GSM for voice Pin
engahmadm4-Nov-03 2:10
engahmadm4-Nov-03 2:10 
GeneralRe: Encryption by A5/3 of GSM for voice Pin
Dominik Reichl4-Nov-03 9:41
Dominik Reichl4-Nov-03 9:41 
QuestionHow to write text to desktop Pin
Emis4-Nov-03 0:47
Emis4-Nov-03 0:47 
AnswerRe: How to write text to desktop Pin
Alexander M.,4-Nov-03 2:28
Alexander M.,4-Nov-03 2:28 

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.