2 ms·
Applications cannot do that. You cannot prevent the user from switching to another app, and even if you could, you can't show that other app's menubar or make i
by eridius 10y ago
Applications cannot do that. You cannot prevent the user from switching to another app, and even if you could, you can't show that other app's menubar or make its windows appear to have focus when they don't. The closest you can come to preventing app switching is using old-style fullscreen capture plus disabling global hotkeys (you know, like how a lot of old games work), but when you're doing that, the user can't even see other apps, much less think they've got focus.