PDA

View Full Version : OpenGL / Obscured controls



SpaceGhost
04-21-2003, 09:58 AM
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: http://www.codeguru.com/opengl/MG-opengl.html

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,

-SG

mikael_aronsson
04-22-2003, 04:18 AM
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.

Mikael