Hey it's me Cobras2, I'm back again and this timei've gotten into Windows coding. anyway heres my theory:
i want to have a window.
inside the window is two static boxes, one takes the top half of the window's client area, and displays a bitmap.
the other takes the bottom half of the client area and displays text.
however, the bitmap may or may not be smaller then half the client area; so i put in transparency. however, the static box on top, where the bitmap is transparent, is the colour of a window background.
the static box on the bottom, is coloured like a 3d object.
what i am trying to do is set the background colour of the static box, to the windows colour for 3d controls
alternatively, how could i change the background colour of (the bottom) static box that is displaying text, to the default colour for 'window' ?
both static boxes were created using CreateWindowEx, with the STATIC window class, and later have the text and images added to them. (in WM_PAINT and WM_SIZE messages)