Click here to Skip to main content
14,271,278 members
Rate this:
Please Sign up or sign in to vote.
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

Rate this:
Please Sign up or sign in to vote.

Solution 1

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.
   
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, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100