Click here to Skip to main content
15,903,385 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CMonthCalCtrl Pin
palbano19-Jun-04 7:05
palbano19-Jun-04 7:05 
Generaldrawing in CRichEditView Pin
AntonGogolev18-Jun-04 22:58
AntonGogolev18-Jun-04 22:58 
GeneralUse office automation in batch Pin
novachen18-Jun-04 21:47
novachen18-Jun-04 21:47 
Generalrich edit Pin
ramtinbahal18-Jun-04 20:43
ramtinbahal18-Jun-04 20:43 
GeneralRe: rich edit Pin
Anonymous18-Jun-04 21:09
Anonymous18-Jun-04 21:09 
GeneralRe: rich edit Pin
David Crow21-Jun-04 3:24
David Crow21-Jun-04 3:24 
GeneralRe: rich edit Pin
mohsen nourian25-Jun-04 20:20
mohsen nourian25-Jun-04 20:20 
GeneralRe: rich edit Pin
David Crow28-Jun-04 2:25
David Crow28-Jun-04 2:25 
SetWindowText() can be used, but you'll either need to call GetWindowText(), or have the text stored in a separate buffer. For example:

CString strBuffer1;
...
strBuffer1 = strBuffer1 + "\r\n" + ...
m_edit.SetWindowText(strBuffer1);
The other way would look like:

CString strBuffer2;
m_edit.GetWindowText(strBuffer1);
strBuffer2 = strBuffer1 + "\r\n" + ...
m_edit.SetWindowText(strBuffer2);
You can also use ReplaceSel().


"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen


GeneralRe: rich edit Pin
mohsen nourian28-Jun-04 20:58
mohsen nourian28-Jun-04 20:58 
GeneralRe: rich edit Pin
mohsen nourian28-Jun-04 20:59
mohsen nourian28-Jun-04 20:59 
Questionhyperlink limit? Pin
vancouver77718-Jun-04 20:29
vancouver77718-Jun-04 20:29 
AnswerRe: hyperlink limit? Pin
vancouver77718-Jun-04 23:42
vancouver77718-Jun-04 23:42 
QuestionHow to recognize : an other computer (in Lan) has pasted a file to my Directory? Pin
ngocdq18-Jun-04 18:48
ngocdq18-Jun-04 18:48 
AnswerRe: How to recognize : an other computer (in Lan) has pasted a file to my Directory? Pin
Ghazi H. Wadi18-Jun-04 21:53
Ghazi H. Wadi18-Jun-04 21:53 
GeneralRe: How to recognize : an other computer (in Lan) has pasted a file to my Directory? Pin
ngocdq20-Jun-04 18:32
ngocdq20-Jun-04 18:32 
QuestionGame output? Pin
Lem35718-Jun-04 15:02
Lem35718-Jun-04 15:02 
AnswerRe: Game output? Pin
Ghazi H. Wadi19-Jun-04 1:40
Ghazi H. Wadi19-Jun-04 1:40 
Questionmenu problem ? Pin
kendao18-Jun-04 14:38
kendao18-Jun-04 14:38 
AnswerRe: menu problem ? Pin
Weiye Chen18-Jun-04 15:53
Weiye Chen18-Jun-04 15:53 
Questionappearance problem ? Pin
kendao18-Jun-04 14:25
kendao18-Jun-04 14:25 
AnswerRe: appearance problem ? Pin
Michael Dunn18-Jun-04 16:36
sitebuilderMichael Dunn18-Jun-04 16:36 
Generalpipe message Pin
Anonymous18-Jun-04 11:39
Anonymous18-Jun-04 11:39 
Generalget windows 2000 domain user password hash Pin
mkrelli18-Jun-04 11:18
mkrelli18-Jun-04 11:18 
GeneralRe: get windows 2000 domain user password hash Pin
gamitech18-Jun-04 11:22
gamitech18-Jun-04 11:22 
GeneralRe: get windows 2000 domain user password hash Pin
mkrelli19-Jun-04 10:46
mkrelli19-Jun-04 10:46 

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.