Archived

This topic is now archived and is closed to further replies.

window transparency and opengl

This topic is 5152 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm getting a lot of flickering when rendering a transparent OpenGL window. I'm using the WS_EX_LAYERED and no WS_EX_TRANSPARENT flag and seting the transparency through LWA_ALPHA. Here's a rundown of its behaviour in different situations: 1) over another OpenGL window - heavy flickering, but also transparent 2) no transparency over the taskbar (also no flickering) 3) proper trsnparency while dragging (the window isn't being constantly redrawn) both when over another OpenGL window as well as over the taskbar Does anyone know how to get rid of the flickering? edit: forgot to add that the above only applies to the client area. The rest of the window is transparent as expected, except when hovering over another OpenGL window, which draws over the transparent window's non-client area. Cheers, Crispy [edited by - crispy on November 6, 2003 6:47:20 PM]

Share this post


Link to post
Share on other sites