Further to transparency

B

Ben Taylor

Further to my previous post on Transparency, is it
possible for an ActiveX control to get the DC of its
container, so it can just draw to that?
 
I

Igor Tandetnik

Ben Taylor said:
Further to my previous post on Transparency, is it
possible for an ActiveX control to get the DC of its
container, so it can just draw to that?

Make the control windowless. The container would then ask it to draw
itself via IViewObject::Draw passing the container's HDC.
--
With best wishes,
Igor Tandetnik

"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top