-
Background Image
Hey guys, I have a small question. I don't think its hard to do, but search on the net didn't return anything good. I want to have a bitmap image as my background in my dialog. I tried adding it like a image but then it hides all my controls and buttons...
Can anyone point me to the right direction? Thanks
-
1) Did you try adding first the image and later the controls, on top of the image?
2) See WM_CTLCOLORDLG, it uses HBRUSH to paint the dialog background, CreatePatternBrush might help you ;)
-
Have the image drawn as the background, then have the buttons and controls drawn on top. When drawing scenes, always draw back to front.
-
-
EDIT Fixed sorry for the double post.