OpenGL / Obscured controls

Hello all,

I am making use of OpenGL in a Child window of a dialog. Windows 2000 Workstation, MSVC 6.0 on ATI XPert 1999/2000 Video Card.

Here is the template for my code:

I like everything except every once in a while an Active-X control or icon will be obscured slightly with lines across it…as if a thread had been pulled from the screen like it were cloth. A line of pixels is funny.

Could this be clipping Active-X controls or something? I could use a few ideas.

Thanks in Advance,


Hi !

It’s difficult to say what the problem is without a screenshot, but if the windows has the same parent then make sure that you have set WS_CLIPSIBLINGS and WS_CLIPCHILDREN for the parent windows style.