Hello,
I want to know how I can be sure that the focus is always on my application. If the user clicks on another app, the focus must get back to my app.
Thanks for help.
Printable View
Hello,
I want to know how I can be sure that the focus is always on my application. If the user clicks on another app, the focus must get back to my app.
Thanks for help.
The easiest way would be to not let them click on another app.
Confine the mouse cursor to just your screen.
You could also set your form to always be on top.
This question is asked here about 10 times per month. Do a search for 'always on top'.
Also, there is a thread in this api forum - FAQ - that is still visible. It has the answer as well.
:D
Sorry,
but it´s not only that the form have to be always on top. It must have the focus of the keyboard, so that´s impossible to shut the computer down and to close my app.
So, would confining the cursor to your form work for you?
You'd also have to nuke the ALT+TAB key combinationQuote:
So, would confining the cursor to your form work for you?
ok, thank u very much