Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

query dialog background color

Posted on 2003-04-01
2
Medium Priority
?
237 Views
Last Modified: 2013-11-20
I have a rich edit control on my dialog and I want its background color to match the background of the dialog instead of the default white.  How can I query the dialog background color OnInitDialog in order to have a COLORREF to pass to a call to m_edMyRichEditCtrl.SetBackgroundColor(FALSE, COLORREF)?
0
Comment
Question by:ris
2 Comments
 
LVL 12

Accepted Solution

by:
williamcampbell earned 200 total points
ID: 8248123
GetSysColor( COLOR_3DFACE );
0
 
LVL 1

Author Comment

by:ris
ID: 8249140
Thanks!  That's exactly what I was looking for!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Loops Section Overview
Suggested Courses

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question