Zitat von
Luckie:
hbrBackground: COLOR_APPWORKSPACE;
Das ergibt das normale Fenstergrau von Windows.
Nope, das ergibt die Farbe des inaktiven Fensterrandes (COLOR_APPWORKSPACE = COLOR_INACTIVEBORDER + 1).
Zitat:
hbrBackground
Identifies the class background brush. This member can be a
handle to the physical brush to be used for painting the background, or it can be a color value. A color value must be one of the following standard system colors
(the value 1 must be added to the chosen color).
Korrekt wäre also COLOR_BTNFACE + 1.