How do u make the window have a background color other than the standard black, white, and gray? I think it has to do with regions, but I don't know how to get a color like yellow or something. Yes, I am a beginner and very dumb.
How do u make the window have a background color other than the standard black, white, and gray? I think it has to do with regions, but I don't know how to get a color like yellow or something. Yes, I am a beginner and very dumb.
Create and define an HBRUSH object (with CreateSolidBrush) then use it when you set up your WNDCLASSEX hbrBackground.
Here's a basic example:
Code://this is all at the top of your WinMain HBRUSH hbYellow=CreateSolidBrush(RGB(255,255,0)); WNDCLASSEX wcx; wcx.hbrBackground=hbYellow; //wcx.etc etc etc....
Thanx, I'll check it out.