Groups | Blog | Home
all groups > dotnet performance > august 2005 >

dotnet performance : C++.NET & message loop


Darth Bill
8/22/2005 6:40:02 PM
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
cody
8/30/2005 12:00:00 AM
you can override the WndProc method to directly handle windows messages.


"Darth Bill" <DarthBill@discussions.microsoft.com> schrieb im Newsbeitrag
news:9EFF021C-4C6D-4E7E-9DB7-151316FBEC7D@microsoft.com...
[quoted text, click to view]

Darth Bill
9/1/2005 5:27:05 AM
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
AddThis Social Bookmark Button