5

My knowledge of Windows programming is close to zero. But now I have made a Forth program running from the console in Windows which opening a primitive window for graphics. The problem is that I want to control the program by pressing keys, but when the program starts there is no focus on the console window, just on the graphic window.

How do I change back focus? I guess I have to use some WINAPI, but which?

Lehs
  • 812
  • 6
  • 18

0 Answers0