PDA

View Full Version : OpenGL rendering in Windows Splitters



sandakith
05-30-2005, 10:15 PM
Hi All

I have a rendering problem in continuous movements in a splitter window of MFC Application integrated with OpenGL. I want to continuously render the movement in the splitter. Can I do it with a single tread?

Lahiru Sandakith

gator
05-31-2005, 08:48 AM
What do you mean by 'continuous movements'?

Do you want to render when the LMB is held down and moving or do you want to render
if there is no mouse movement at all, like in the case of animation?

You can try to force a redraw of the splitter window by invalidating it, then
updating it:

Invalidate();
UpdateWindow();