Click here to Skip to main content
15,891,607 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionGet Name from IP Address Pin
vikrant kpr12-May-07 6:06
vikrant kpr12-May-07 6:06 
AnswerRe: Get Name from IP Address Pin
Vadim Tabakman12-May-07 15:18
Vadim Tabakman12-May-07 15:18 
QuestionUsing an Apache Axis web service from C++ client Pin
Andy H12-May-07 4:32
Andy H12-May-07 4:32 
QuestionOwner drawn context menu Pin
Neeraj Sinha12-May-07 4:29
Neeraj Sinha12-May-07 4:29 
AnswerRe: Owner drawn context menu Pin
Mark Salsbery12-May-07 5:06
Mark Salsbery12-May-07 5:06 
AnswerRe: Owner drawn context menu Pin
Hamid_RT12-May-07 5:52
Hamid_RT12-May-07 5:52 
QuestionStatic Text Control Wordwrap Pin
daveyerwin12-May-07 3:38
daveyerwin12-May-07 3:38 
AnswerRe: Static Text Control Wordwrap Pin
Mark Salsbery12-May-07 6:11
Mark Salsbery12-May-07 6:11 
GeneralRe: Static Text Control Wordwrap Pin
Rick York12-May-07 7:21
mveRick York12-May-07 7:21 
AnswerRe: Static Text Control Wordwrap Pin
Gary R. Wheeler13-May-07 2:50
Gary R. Wheeler13-May-07 2:50 
QuestionMicrosoft Speech SDK Pin
smzhaq12-May-07 2:48
smzhaq12-May-07 2:48 
QuestionHow to show CTcxMsgbox and buttons in a different color [modified] Pin
Cyber Friend12-May-07 2:45
Cyber Friend12-May-07 2:45 
QuestionRe: How to show CTcxMsgbox and buttons in a different color Pin
Hamid_RT12-May-07 6:03
Hamid_RT12-May-07 6:03 
AnswerRe: How to show CTcxMsgbox and buttons in a different color Pin
Mark Salsbery12-May-07 6:27
Mark Salsbery12-May-07 6:27 
GeneralRe: How to show CTcxMsgbox and buttons in a different color Pin
Cyber Friend14-May-07 1:13
Cyber Friend14-May-07 1:13 
Hi,
CTcxMsgBox class is derived from CDialog so there is no WM_ERASEBKGND messsage to add the message handler.How to add a different background color for CDialog based class? There is no dialog resource associated for CTcxMsgBox class and it produces the MessageBox using the function

CDialog::InitModalIndirect( (LPCDLGTEMPLATE)_dlgData, m_pParentWnd );
When I put the function
SetDialogBkColor(RGB(206,207,206));
in the CWinApp derived application class's InitInstance() then MessageBox is being shown in new background color but buttons and CRichEditCtrl (which is for text message) are not shown in that color.

Now How to draw the Buttons in different background color?



best regards,
Cyber Friend
QuestionMouseover Pin
prathuraj12-May-07 2:41
prathuraj12-May-07 2:41 
AnswerRe: Mouseover Pin
Hans Dietrich12-May-07 3:04
mentorHans Dietrich12-May-07 3:04 
AnswerRe: Mouseover Pin
jk chan12-May-07 5:28
jk chan12-May-07 5:28 
GeneralRe: Mouseover Pin
Mark Salsbery12-May-07 6:14
Mark Salsbery12-May-07 6:14 
QuestionCListCrtl like in task manager Pin
Cedric Moonen12-May-07 2:25
Cedric Moonen12-May-07 2:25 
AnswerRe: CListCrtl like in task manager Pin
Hans Dietrich12-May-07 2:53
mentorHans Dietrich12-May-07 2:53 
GeneralRe: CListCrtl like in task manager Pin
Cedric Moonen12-May-07 2:58
Cedric Moonen12-May-07 2:58 
QuestionCallBack function Pin
Kiran Pinjala12-May-07 1:09
Kiran Pinjala12-May-07 1:09 
AnswerRe: CallBack function Pin
CPallini12-May-07 2:19
mveCPallini12-May-07 2:19 
AnswerRe: CallBack function Pin
Hamid_RT12-May-07 6:05
Hamid_RT12-May-07 6:05 

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.