I need to color an edit control using a color in a custom 256 color palette. In the parent window in response to WM_CTLCOLOR, I set the background color and return a solid brush containing this background color. Then in response to WM_PAINT for the edit control, I select and realize the palette. Unfortunately, the color gets dithered to a 16 color palette and I am not sure why.
Anyone have any idea why this might happen? Is it possible to color an edit control with > 16 colors.