Colouring a window in one color

Started by
-1 comments, last by Lor 23 years, 2 months ago
Hey guys! First let me say that I''ve been using the GDN message board for only a few weeks now and you guys (the general community here)have already helped me past most of my problems, kudos for you! Anyway, I basically want to colour the whole of my window a specific color. A background color if you will. How would I go about doing this? Would I need to use pen and brush classes? Thanks guys!
Advertisement
When defining the window class:

wndclass.hbrBackground = CreateSolidBrush (crColor);

you can use

RGB(iRed, iGreen, iBlue)

instead of crColor.

This topic is closed to new replies.

Advertisement