message::color_display

This message is sent to the parent of a display control, prior to rendering of its text. It offers the parent the opportunity to change the text color and the background color.

Parameters

parameter1

The handle of the device context in which the drawing is to take place.

parameter2

The handle of the display window.

Return

result

If the parent window processes this message, it should return a handle of a brush that will be used to render the background of the display field.

Notes

The default window procedure selects system colors in which to draw the display.