I had this same problem with windows 7. My solution with W7 was to press the windows key, to get me back to the desktop, and then click on IL2 on the taskbar. I found that this doesn't work with W10.
With windows 10, I have to press alt/tab a few times, and then everything works again.
Very strange.