Click here to Skip to main content
15,922,584 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Disable Frame Moving Pin
baerten13-Nov-06 4:09
baerten13-Nov-06 4:09 
AnswerRe: Disable Frame Moving Pin
Viorel.13-Nov-06 4:28
Viorel.13-Nov-06 4:28 
GeneralRe: Disable Frame Moving Pin
baerten13-Nov-06 21:43
baerten13-Nov-06 21:43 
QuestionUsing Webdings as font for CDialog buttons problem Pin
peterboulton13-Nov-06 1:21
professionalpeterboulton13-Nov-06 1:21 
AnswerRe: Using Webdings as font for CDialog buttons problem Pin
Rage13-Nov-06 2:53
professionalRage13-Nov-06 2:53 
AnswerRe: Using Webdings as font for CDialog buttons problem Pin
Viorel.13-Nov-06 3:02
Viorel.13-Nov-06 3:02 
QuestionHow to diable menu itemin VC++ Pin
Kvaibhav13-Nov-06 1:05
Kvaibhav13-Nov-06 1:05 
AnswerRe: How to diable menu itemin VC++ Pin
Rage13-Nov-06 2:52
professionalRage13-Nov-06 2:52 
GeneralRe: How to diable menu itemin VC++ Pin
Kvaibhav13-Nov-06 19:41
Kvaibhav13-Nov-06 19:41 
QuestionProblem with registering a dll Pin
narayanagvs13-Nov-06 0:36
narayanagvs13-Nov-06 0:36 
AnswerRe: Problem with registering a dll Pin
Mike_99913-Nov-06 1:46
Mike_99913-Nov-06 1:46 
AnswerRe: Problem with registering a dll Pin
Roger Stoltz13-Nov-06 1:46
Roger Stoltz13-Nov-06 1:46 
QuestionMaking a Package Pin
Patriot8112-Nov-06 23:42
Patriot8112-Nov-06 23:42 
AnswerRe: Making a Package Pin
Christian Graus12-Nov-06 23:43
protectorChristian Graus12-Nov-06 23:43 
AnswerRe: Making a Package Pin
toxcct13-Nov-06 3:28
toxcct13-Nov-06 3:28 
AnswerRe: Making a Package Pin
Hamid_RT13-Nov-06 5:33
Hamid_RT13-Nov-06 5:33 
QuestionEdit controls Pin
Waldermort12-Nov-06 22:51
Waldermort12-Nov-06 22:51 
AnswerRe: Edit controls Pin
Christian Graus12-Nov-06 23:16
protectorChristian Graus12-Nov-06 23:16 
GeneralRe: Edit controls Pin
Waldermort12-Nov-06 23:40
Waldermort12-Nov-06 23:40 
GeneralRe: Edit controls Pin
Christian Graus12-Nov-06 23:43
protectorChristian Graus12-Nov-06 23:43 
GeneralRe: Edit controls Pin
Waldermort13-Nov-06 0:17
Waldermort13-Nov-06 0:17 
AnswerRe: Edit controls Pin
Viorel.13-Nov-06 0:08
Viorel.13-Nov-06 0:08 
GeneralRe: Edit controls Pin
Waldermort13-Nov-06 0:11
Waldermort13-Nov-06 0:11 
QuestionProblem in changing background color of dialog box Pin
Cyber Friend12-Nov-06 22:36
Cyber Friend12-Nov-06 22:36 
Hi,
I have changed the background color of a dialog in VC6 but having a problem.

I put CBrush m_brBakgnd in the dialog class CMyDlg;
CBrush m_brBakgnd;

Then in OnInitDialog handler of the class I called
m_brBakgnd.CreateSolidBrush(RGB(0,255,0));//green brush
And in OnCtlColor() handler i returned the brush as:
retrun m_brBakgnd;

After doing this all When dialog is displayed then Edit boxes and combox boxes are also having same background color as the dialog box, which is creating the appearace as if Edit boxes and Combo boxes are diabled.
How can I avoid Edit boxes and Combo boxes having the same background color as dialog, so that they can be shown in typical white color.

Waiting for your reply.
Best regards.

Cyber Friend
AnswerRe: Problem in changing background color of dialog box Pin
Waldermort12-Nov-06 22:56
Waldermort12-Nov-06 22: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.