Created
December 9, 2016 15:13
-
-
Save JoanM/fe72074b71f278dbacf174e1e749d709 to your computer and use it in GitHub Desktop.
Win32 message loop sample
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while( (bRet = GetMessage( &msg, NULL, 0, 0 )) != 0) | |
{ | |
// No errors are handled, for simplicity purposes. | |
TranslateMessage(&msg); | |
DispatchMessage(&msg); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment