So I have created 2 games (tic tac toe and ping pong). Both games first gave "login" panel and then actual "game" panel. Now I realized that if I press any key on keyboard it goes into text box which is login panel which is hidden when game panel is visible. What could cause that ?
I tried disabling text box and that would work but then if I press key I get that windows error sound.
For code I cant paste it both games have about 600 lines of code I'm hoping that there is something that should be done when you switch panels.