Q:

What color is used for a read-only CEdit in MFC/Win32?

I am trying to find if there is a system color used here, so I can use the same value in my custom control. But I cannot find any reference, and none of these system colors sound right.
Is there a sys-color or constant I can use? Failing that, what's the RGB?

A:

It looks like Dialog's default background color.  
Try this ::GetSysColor(COLOR_3DFACE)

