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开发者_StackOverflow 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?
It looks like Dialog's default background color.
Try this ::GetSysColor(COLOR_3DFACE)
精彩评论