Is there an easy way to skin all the windows in an app? I have my controls set up as child windows, and I've added a bmp to the main window. But this leaves all my static controls bare. Is there a way I can skin right over the top of these without skinning each seperate control. And optionally, omitt some of the controls?
I added the bitmap to my windows registration like this:
I would have thought the child/control windows would inherit the bitmap. I was wrong.Code:background.lbStyle =BS_PATTERN; background.lbHatch = (long) LoadImage(hInst, "Bitmap.bmp", IMAGE_BITMAP, 0, 0, LR_LOADFROMFILE); wcx.hbrBackground = CreateBrushIndirect(&background);
If there is no easy way to make the child windows inherit the bitmap, then how would you go about preserving the layout of the bitmap?



LinkBack URL
About LinkBacks



