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


i'm french developer , need develop metro style app windows 8 pro launched. wanted know how can disable close event of app. app need in front time , user couldn't quit app.

i thought disable shortcut gpo close gesture (drag app top bottom) need me disabled too.

i hope clear , understand question :-). feel free ask me more specific questions.

cordially renaud.

the short answer is: can't.

the operating system , user control lifetime of metro style apps, can't block user switching away app , once app no longer in foreground, application suspended , system can terminate application @ moment.

similarly, user close gesture cannot blocked.


Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -