Advertisement

window transparency and opengl

Started by November 06, 2003 05:24 PM
-1 comments, last by Crispy 21 years, 4 months ago
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]
"Literally, it means that Bob is everything you can think of, but not dead; i.e., Bob is a purple-spotted, yellow-striped bumblebee/dragon/pterodactyl hybrid with a voracious addiction to Twix candy bars, but not dead."- kSquared

This topic is closed to new replies.

Advertisement