I have a Win32 app where I have a child window that needs a transparent background, such that it draws over the content of the parent window. If I use WS_EX_LAYERED
, I can achieve the effect I need. Is there a way to accomplish the same thing, but with hardware accelerated drawing? Ideally I'm looking for an OpenGL solution but a Direct3D solution would also be acceptable. I've tried following some examples online that use DwmExtendFrameIntoClientArea
, but these seem to only work for top-level windows, not child windows. Thanks