Hi all,

After reading this thread:
http://cboard.cprogramming.com/showthread.php?t=53719

I'm under the impression that if I make a fancy background bitmap, I can use:
CreatePatternBrush(LoadBitmap(hInstance, "Background.bmp"));
In order to create an HBRUSH of my bitmap? (And then load that into my WNDCLASS structure, resulting in a very nice background for my window.

Although (from the thread) they used a much crazier way of defining everything, which I tried to re-create, but with no success.

So, my question is:
Say I have made a 200x300 bitmap called, oh, "Background.bmp". Without having to create a seperate "STATIC" window to cover my main window and load the image into that, how would I go about applying Background.bmp as the background for my window?

I have tried and tried to search up a solution here on these boards and on google. I also just got my wisdom teeth out this morning so I may not have been as thorough as I should have, but I really think I searched extensively.

So, if there's any help out there, I'd be more than happy to accept it

Thanks