C\C++ - win32: can i copy the parent background?

Apr 19, 2015 at 7:49pm
we have a child control on parent. can i copy what is on parent background, where is the child control?
i used the BitBlt() but i get a black rectangle. i don't belive the parent eliminates the parent background, where is the child control.
can anyone advice me?
Apr 20, 2015 at 3:20pm
Are you implementing transparency?
Apr 20, 2015 at 8:20pm
too ;)
but i need copy the parent background for do the job(and use the AlphaBlend() function too)
Apr 22, 2015 at 12:02pm
It's just a matter of passing in the parent's window handle

I can't remember the call, but I had it all worked out at some point. There's a sample project here that you look at. https://code.msdn.microsoft.com/windowsapps/How-to-add-wartermark-f6313fad
Topic archived. No new replies allowed.