🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

The message loop

Started by
0 comments, last by lc_overlord 16 years, 11 months ago
Well I'm re-reading OpenGL tutorials along with WinAPI and I was wondering how come all the keys are done in the message loop and not in the wndprocedure?
Advertisement
cause all key input events are in the message loop, in case you wanted to count the number of key presses or something like that.
If you where to simply check they keystate once every frame you could potentially miss a keypress event between frames.

This topic is closed to new replies.

Advertisement