Take the 2-minute tour ×  I have written an application which
has a modal form. How can I ensure that this form does not lose
the focus even when an other application is started?
share|improve this question I'm assuming this is a web
application. Is that correct? –  Pablo Fernandez Sep 27 '08 at
14:21 add comment  5 Answers  Actually, this is exactly the sort
of thing you shouldn't be doing.  There's too many programs
around that assume they control the computer they're installed
on. It is the user of your application that should be in
control.  That's why later versions of Windows disallowed
stealing of focus instead insisting on just blinking the entry
in the task list bar.  You may well find a way to do it (though
I doubt it), but I urge you to rethink it. I'd be interested in
knowing why you thought it was necessary.  share|improve this
answer I wrote an application to hear to web radio stations
while I am on my bicycle ergometer. I can change the stations by
pressing a button on the game pad that is fix