Sign in to follow this  

WS_EX_COMPOSITED

This topic is 4834 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

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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

This topic is 4834 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this