Click here to Skip to main content
15,895,777 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MSVC++ 8 SP1: delete const pointer Pin
N-O-R-B-E-R-T12-Feb-07 14:23
N-O-R-B-E-R-T12-Feb-07 14:23 
QuestionParse data from dialog form editctrl to excel sheet cell? Pin
rolfhorror12-Feb-07 8:32
rolfhorror12-Feb-07 8:32 
AnswerRe: Parse data from dialog form editctrl to excel sheet cell? Pin
David Crow12-Feb-07 9:17
David Crow12-Feb-07 9:17 
QuestionChange dialog bkgrnd color in .NET Pin
JBAK_CP12-Feb-07 8:27
JBAK_CP12-Feb-07 8:27 
AnswerRe: Change dialog bkgrnd color in .NET Pin
toxcct12-Feb-07 8:32
toxcct12-Feb-07 8:32 
GeneralRe: Change dialog bkgrnd color in .NET Pin
JBAK_CP12-Feb-07 8:37
JBAK_CP12-Feb-07 8:37 
AnswerRe: Change dialog bkgrnd color in .NET Pin
Mark Salsbery12-Feb-07 9:06
Mark Salsbery12-Feb-07 9:06 
GeneralRe: Change dialog bkgrnd color in .NET Pin
JBAK_CP12-Feb-07 9:17
JBAK_CP12-Feb-07 9:17 
Ok, I handle the OnEraseBkgnd(CDC* pDC) and put the following in there:

CRect Rect;
GetClientRect(&Rect);
CBrush Bursh(RGB(192,202,202));
pDC->FillRect(&Rect,&Bursh);
return TRUE;

This seems to change the background, but my static text and edit boxes are still grey? Am I missing something?
Thanks
GeneralRe: Change dialog bkgrnd color in .NET Pin
toxcct12-Feb-07 9:25
toxcct12-Feb-07 9:25 
GeneralRe: Change dialog bkgrnd color in .NET Pin
JBAK_CP12-Feb-07 10:18
JBAK_CP12-Feb-07 10:18 
GeneralRe: Change dialog bkgrnd color in .NET Pin
Mark Salsbery12-Feb-07 10:45
Mark Salsbery12-Feb-07 10:45 
GeneralRe: Change dialog bkgrnd color in .NET [modified] Pin
toxcct12-Feb-07 10:47
toxcct12-Feb-07 10:47 
GeneralRe: Change dialog bkgrnd color in .NET Pin
Mark Salsbery12-Feb-07 10:23
Mark Salsbery12-Feb-07 10:23 
AnswerRe: Change dialog bkgrnd color in .NET Pin
Hamid_RT12-Feb-07 17:35
Hamid_RT12-Feb-07 17:35 
GeneralRe: Change dialog bkgrnd color in .NET Pin
toxcct12-Feb-07 20:22
toxcct12-Feb-07 20:22 
GeneralRe: Change dialog bkgrnd color in .NET Pin
Hamid_RT12-Feb-07 20:27
Hamid_RT12-Feb-07 20:27 
GeneralRe: Change dialog bkgrnd color in .NET Pin
toxcct12-Feb-07 20:30
toxcct12-Feb-07 20:30 
GeneralRe: Change dialog bkgrnd color in .NET Pin
Hamid_RT12-Feb-07 20:46
Hamid_RT12-Feb-07 20:46 
GeneralRe: Change dialog bkgrnd color in .NET Pin
toxcct12-Feb-07 20:53
toxcct12-Feb-07 20:53 
GeneralRe: Change dialog bkgrnd color in .NET Pin
Hamid_RT12-Feb-07 21:02
Hamid_RT12-Feb-07 21:02 
GeneralRe: Change dialog bkgrnd color in .NET Pin
toxcct12-Feb-07 21:36
toxcct12-Feb-07 21:36 
GeneralRe: Change dialog bkgrnd color in .NET Pin
Hamid_RT12-Feb-07 23:13
Hamid_RT12-Feb-07 23:13 
GeneralRe: Change dialog bkgrnd color in .NET Pin
toxcct12-Feb-07 23:15
toxcct12-Feb-07 23:15 
GeneralRe: Change dialog bkgrnd color in .NET Pin
Hamid_RT12-Feb-07 23:30
Hamid_RT12-Feb-07 23:30 
Questionminimize to system tray Pin
convivial.developer12-Feb-07 7:34
convivial.developer12-Feb-07 7:34 

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.