hbrBackground (WNDCLASSEX) problems in Windows XP
I've been having some trouble getting my window to have the standard background colour when Windows XP themes are enabled.
If I set the hbrBackground to COLOR_WINDOW when I have the classic Windows standard theme on, my window's background colour is the same as any other normal window background (for example a message box).
When I switch on a Windows XP theme, Windows then seems to interpret COLOR_WINDOW and COLOR_WINDOW+1 as both white. I've tried all the likely colour constants I can think of and none of them are what I'm looking for.
The colour that I'm after is the colour which is set in the following location in Windows XP:
Control Panel -> Display -> Appearance -> Advanced -> 3D Objects
Can anyone help me out on this one?
I've done a forum search but nothing has come up relating exactly to my problem.
Thanks for the help,