How could i make my program check if keys are pressed down when the form/program is selected?