Reputation: 77
Is there any way by which I can prevent a windows metro app from going to background since it goes in suspended state when in backgroud? Else how can I show a alert message when I am trying to put app in the background?
Upvotes: 0
Views: 68
Reputation: 21889
Not programmatically: apps cannot override the user's choice here.
Once the app's window is deactivated it is too late for it to show an alert message.
From a system configuration standpoint the Assigned Access feature allows an admin to set up kiosk with a single app which the user can't switch away from.
Upvotes: 1