nope. i actually do not want that part of the window to be disturbed by any means.
in my original application we have UI placed there.
Anyways what i wanted is glAddSwapHintRectWIN.
I implemented the above API using the following code
// Get a pointer to the extension function.
typedef void (WINAPI *FNSWAPHINT)(GLint, GLint, GLsizei, GLsizei);
fnSwapHint = (FNSWAPHINT)wglGetProcAddress("glAddSwapHintRectWIN");
// Actual call to glAddSwapHintRectWIN.
if (fnSwapHint != NULL)
(*fnSwapHint)(0, 0, 100, 100);
But now the problem is, we have we more child controls of the window placed in the view area. When i redraw the window, all the child controls disappear. Is there any way to avoid that. The clid controls are transparent. So i cannot have a specified rect to avoid.