Advertisement

WS_EX_COMPOSITED

Started by September 16, 2004 10:20 AM
0 comments, last by Alan Kemp 20 years, 2 months ago
Hello! I developed an application using C# and Colin Fahey OpenGL Wrapper. This application was designed to work only on Windows XP and somebody suggested me to use WS_EX_COMPOSITED Windows style. Everything seems to run perfectly but on some computers (with XP) the applications seems to crash and the video go black, and you need to reboot. Simply removing WS_EX_COMPOSITED my program runs normally. I could simply release my program without it, but I'd like to know the reasons for this strange behaviour. Can anyone help me? Thanks
Gallo
As far as I am aware all WS_EX_COMPOSITED does is provides automitic double buffering for GDI+ and enables you to have an alpha component for your window. How is this useful to you for an OpenGL app where you are explicitly repainting the whole window by yourself?

Do the machines it fails on have WinXP SP2 and the latest video card drivers (the later alomst certainly being the problem)?

Alan
"There will come a time when you believe everything is finished. That will be the beginning." -Louis L'Amour

This topic is closed to new replies.

Advertisement