Problem: Other windows events makes my OGL program to stuck...

My program has 2 windows, the main OGL window and a little dialog. I notice that if I move or resize or click on the controls in this dialog window, the OGL window stucks, and stop receiving messages for a moment. Im pretty sure that this is a problem with the messages loop. Do you know how should I fix this?

Hi there…if you have the OpenGL Programming Guide (Red Book), you’ll see that if you want to resize your screen, you’re going to probably need some kind of reshape function. An example of this function in use is given on page 25 of the “Red Book”.

Now, if you don’t have the book, it is available on-line at:
http://heron.cc.ukans.edu/ebt-bin/nph-dw…/7109;cd=7;td=6

Good Luck and Cheers…