How to disable Suspending || Closing || Terminating event for my Metro Style App on Windows 8 Pro

假装没事ソ 提交于 2019-11-28 02:21:15

The short answer is: You can't.

The operating system and the user control the lifetime of Metro Style apps, you can't block the user from switching away from your app and once your app is no longer in the foreground, the application is suspended and the system can terminate the application at any moment.

Similarly, the user close gesture cannot be blocked.

In Windows 8.1 you may find Kiosk Mode to be what you need.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!