Hey guys, right now, to do animation in my MFC-based ogl program, I override the CWinApp::OnIdel() function. I’m wondering, is this the “right” way to do things??
This is basically the same problem as in a normal Win32-based program, in that to do animation, you can’t just draw a new frame when u get a WM_PAINT, you gotta draw it whenever possible, provided that no wm’s are in the queue.
Please help, thanks!