Advertisement
Guest User

Untitled

a guest
Jul 31st, 2016
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. #include <iostream>
  2. #include <windows.h>
  3.  
  4. using namespace std;
  5. //msg loop
  6. int main(){
  7. MSG Msg;
  8.  
  9. while(GetMessage (&Msg, NULL, 0, 0)){
  10. TranslateMessage(&Msg);
  11. DispatchMessage(&Msg);
  12. }
  13. return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement