Board index » Visual Studio » Further to transparency

Further to transparency

Visual Studio255
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?


-
 

Re:Further to transparency

"Ben Taylor" <ben_taylor_g1@yahoo.co.uk>wrote in message

Quote
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





-