Further to transparency

  • Thread starter Thread starter Ben Taylor
  • Start date Start date
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?
 
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
 
Back
Top