Click here to Skip to main content
15,917,481 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Errors: MSVC 6.0, SDI MFC APP. Pin
tingu20-Jun-06 8:08
tingu20-Jun-06 8:08 
GeneralRe: Errors: MSVC 6.0, SDI MFC APP. Pin
David Crow20-Jun-06 8:10
David Crow20-Jun-06 8:10 
QuestionCOleDateTime problem ! Pin
AkiraOne20-Jun-06 5:10
AkiraOne20-Jun-06 5:10 
AnswerRe: COleDateTime problem ! Pin
led mike20-Jun-06 5:44
led mike20-Jun-06 5:44 
QuestionWin32 Project & ClrButton Pin
69 Bay20-Jun-06 4:48
69 Bay20-Jun-06 4:48 
AnswerRe: Win32 Project & ClrButton Pin
led mike20-Jun-06 5:53
led mike20-Jun-06 5:53 
AnswerRe: Win32 Project & ClrButton Pin
Zac Howland20-Jun-06 6:17
Zac Howland20-Jun-06 6:17 
QuestionCRichEditCtrl set text color Pin
YaronNir20-Jun-06 4:38
YaronNir20-Jun-06 4:38 
hi all,
i need to set the entire rich edit text to white....
i know there is a SetBackgroundColor method and to set the text i need to do SetDefaultCharFormat
but this doesn't work for me....

here is what i do:

CHARFORMAT2 cf;
m_edtMsg.GetDefaultCharFormat(cf);
cf.cbSize = sizeof(CHARFORMAT2);
cf.dwMask = CFM_COLOR;
cf.crTextColor  = RGB(255,255,255);
m_edtMsg.SetDefaultCharFormat(cf);


when i start typing on the rich edit, i see the color hasn't been changed???

any help?

thanks in advanced

Yaron

Interface basics click here :
http://www.codeproject.com/com/COMBasics.asp

don't forget to vote Smile | :)
AnswerRe: CRichEditCtrl set text color Pin
Viorel.20-Jun-06 4:57
Viorel.20-Jun-06 4:57 
GeneralRe: CRichEditCtrl set text color Pin
YaronNir20-Jun-06 5:39
YaronNir20-Jun-06 5:39 
GeneralRe: CRichEditCtrl set text color Pin
Viorel.20-Jun-06 20:27
Viorel.20-Jun-06 20:27 
QuestionRead/write summary tab info Pin
petergggg20-Jun-06 4:24
petergggg20-Jun-06 4:24 
AnswerRe: Read/write summary tab info Pin
David Crow20-Jun-06 4:33
David Crow20-Jun-06 4:33 
GeneralRe: Read/write summary tab info [modified] Pin
petergggg20-Jun-06 23:00
petergggg20-Jun-06 23:00 
GeneralRe: Read/write summary tab info Pin
David Crow21-Jun-06 2:36
David Crow21-Jun-06 2:36 
Questioncontrol color Pin
yogendra kaushik20-Jun-06 4:15
yogendra kaushik20-Jun-06 4:15 
AnswerRe: control color Pin
see me20-Jun-06 4:25
see me20-Jun-06 4:25 
AnswerRe: control color Pin
Laxman Auti20-Jun-06 5:45
Laxman Auti20-Jun-06 5:45 
AnswerRe: control color Pin
Hamid_RT20-Jun-06 18:57
Hamid_RT20-Jun-06 18:57 
GeneralRe: control color Pin
ANIL KUMAR SHARMA (INDIA)14-Jul-09 19:08
ANIL KUMAR SHARMA (INDIA)14-Jul-09 19:08 
Questionhow can i write a C++ code in BREW. Pin
nitinjdalal20-Jun-06 4:09
nitinjdalal20-Jun-06 4:09 
AnswerRe: how can i write a C++ code in BREW. Pin
toxcct20-Jun-06 4:34
toxcct20-Jun-06 4:34 
GeneralRe: how can i write a C++ code in BREW. Pin
Michael Dunn20-Jun-06 9:15
sitebuilderMichael Dunn20-Jun-06 9:15 
AnswerRe: how can i write a C++ code in BREW. Pin
Stephen Hewitt20-Jun-06 16:18
Stephen Hewitt20-Jun-06 16:18 
AnswerRe: how can i write a C++ code in BREW. Pin
Hamid_RT20-Jun-06 18:56
Hamid_RT20-Jun-06 18:56 

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.