I added the KeyPress subroutine to my program so I could detect a keypress and do some special features.

The problem I am having in when I move the program over to the target system. The program run correctly, but when I do a keypress, nothing happens. It is suppose to open another window on top of the current window, but no window opens.