you can override the WndProc method to directly handle windows messages.
>I am updating an existing managed C++ application that uses a timer to
> refresh an OpenGL window. I would like to improve performance by updating
> the OpenGL window inside of the message loop, as would be done in a game,
> but
> have not been able to find a way to access the message loop itself. Does
> anybody have any suggestions?
Darth Bill - 01 Sep 2005 13:27 GMT
Cody, I don't follow. What I want to do is to call my OpenGL code with every
message loop (i.e. TranslateMessage, DispatchMessage, OpenGL stuff) even if
there are no messages. Isn't WndProc only called when there is a message in
the queue?