Do you basically want to force the app to always be focused then? There is such a thing as making a window "modal" meaning always on top and you can't click anything else. You could look into that. Actually, thinking about it, that might only work *within* your app, e.g. if you had more than one window you can make it modal. Not sure.