Hi all, I have to add a bitmap as background in my win32 program cause I'd like to substitute the horrible gray window color with a bitmap, is ti possible?
Some link to see some examples.
Hi all, I have to add a bitmap as background in my win32 program cause I'd like to substitute the horrible gray window color with a bitmap, is ti possible?
Some link to see some examples.
Yes, use a brush created with CreatePatternBrush for the hbrBackground member of the WNDCLASSEX structure.
...Assuming you aren't and never plan to target Windows 95, otherwise it gets tricky: you'll have to manage the background drawing yourself.
Take a look at:
BitBlt()
LoadBitmap()
lu lu lu I've got some apples lu lu lu You've got some too lu lu lu Let's make some applesauce Take off our clothes and lu lu lu