Click here to Skip to main content
16,016,501 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want set the picture control as a Background of control. And I want to change color of picture control.
Posted
Comments
Sandeep Mewara 3-May-11 7:36am    
So? What is the issue? Tried?

1 solution

I think you don't want to put a picture control as a background, you just want to draw an image as a background.

In you control class, try to override OnEraseBkgnd and draw your bitmap with CDC::BitBlt from here for example.
 
Share this answer
 
Comments
Manfred Rudolf Bihy 3-May-11 12:35pm    
My 5! Sounds like the way to do it!
Olivier Levrey 4-May-11 4:07am    
Thank you Manfred.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900