mainprashant89
mainprashant89

Reputation: 77

Prevent metro app from going to background

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

Answers (1)

Rob Caplan - MSFT
Rob Caplan - MSFT

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

Related Questions