Click here to Skip to main content
15,885,141 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: vc++ equivalent of c# Pin
Hamid_RT20-Sep-07 4:18
Hamid_RT20-Sep-07 4:18 
AnswerRe: vc++ equivalent of c# Pin
Nelek19-Sep-07 23:37
protectorNelek19-Sep-07 23:37 
AnswerRe: please help me asap [modified] Pin
toxcct19-Sep-07 23:32
toxcct19-Sep-07 23:32 
GeneralRe: please help me asap Pin
Programm3r20-Sep-07 3:34
Programm3r20-Sep-07 3:34 
GeneralRe: please help me asap Pin
toxcct20-Sep-07 3:37
toxcct20-Sep-07 3:37 
JokeRe: please help me asap Pin
Nelek20-Sep-07 3:59
protectorNelek20-Sep-07 3:59 
GeneralRe: please help me asap Pin
toxcct20-Sep-07 4:00
toxcct20-Sep-07 4:00 
QuestionQuestion about CEdit Pin
josip cagalj19-Sep-07 22:39
josip cagalj19-Sep-07 22:39 
Hi.
I set my dialog color to black with GetStockObject( BLACK_BRUSH );, then I put edit control with different 'BkColor'
CDC *pEditDC=m_edtInfo.GetDC();<br />
pEditDC->SetBkColor(RGB(230,251,251));<br />
pEditDC->SetTextColor(RGB(255,255,255));<br />
ReleaseDC(pEditDC);

When my dialog shows at first (before my edit control has no input string) I don't even see it (all dialog is black)! When I populate edit control m_edtInfo.SetWindowText('some text') text is displayed and edit ctrl's BkColor is shown but only behind the text not on all edit ctrl rectangle.why?
How to get all edit ctrl's region being filled with BkColour, even at first?
Thanks!
P.S.
My apology for my language.
AnswerRe: Question about CEdit Pin
Jason Teagle19-Sep-07 22:52
Jason Teagle19-Sep-07 22:52 
GeneralRe: Question about CEdit Pin
josip cagalj19-Sep-07 23:02
josip cagalj19-Sep-07 23:02 
GeneralRe: Question about CEdit Pin
josip cagalj19-Sep-07 23:27
josip cagalj19-Sep-07 23:27 
GeneralRe: Question about CEdit Pin
Mark Salsbery20-Sep-07 6:59
Mark Salsbery20-Sep-07 6:59 
AnswerRe: Question about CEdit Pin
jhwurmbach19-Sep-07 22:53
jhwurmbach19-Sep-07 22:53 
AnswerRe: Question about CEdit Pin
Nelek19-Sep-07 22:53
protectorNelek19-Sep-07 22:53 
Questionvc++ equivalent of c# Pin
tasumisra19-Sep-07 22:39
tasumisra19-Sep-07 22:39 
AnswerRe: vc++ equivalent of c# Pin
toxcct19-Sep-07 22:44
toxcct19-Sep-07 22:44 
GeneralRe: vc++ equivalent of c# Pin
tasumisra19-Sep-07 22:48
tasumisra19-Sep-07 22:48 
QuestionHow to disable the sounds of message box ? Pin
Nelek19-Sep-07 22:27
protectorNelek19-Sep-07 22:27 
AnswerRe: How to disable the sounds of message box ? Pin
Mark Salsbery20-Sep-07 7:15
Mark Salsbery20-Sep-07 7:15 
GeneralRe: How to disable the sounds of message box ? Pin
Nelek21-Sep-07 1:36
protectorNelek21-Sep-07 1:36 
GeneralRe: How to disable the sounds of message box ? Pin
Mark Salsbery21-Sep-07 8:01
Mark Salsbery21-Sep-07 8:01 
AnswerRe: How to disable the sounds of message box ? Pin
DevMentor.org20-Sep-07 10:15
DevMentor.org20-Sep-07 10:15 
QuestionHow to enter japanese strings in my string table ? Pin
Krishnatv19-Sep-07 22:07
Krishnatv19-Sep-07 22:07 
AnswerRe: How to enter japanese strings in my string table ? Pin
Sameerkumar Namdeo19-Sep-07 22:23
Sameerkumar Namdeo19-Sep-07 22:23 
GeneralRe: How to enter japanese strings in my string table ? Pin
Krishnatv19-Sep-07 22:51
Krishnatv19-Sep-07 22:51 

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.