How to make Windows 8 desktop apps shown in Metro UI (like Task Manager)?

妖精的绣舞 提交于 2019-12-05 21:56:39
user2099545

There is a way to do that by using a manifest file and doing some stuff :)

How ?

  1. Prepare the project:

    • Add a manifest file to your UI Project with level=highestAvailable and uiAccess=true
    • The mainWindow should have the two properties : ShowInTaskbar and TopMost enabled.
  2. Signing the APP: Build your project. If you try to run the application at this point, it won't work because you need to sign it. See this link for how to do it.

  3. Moving to a trusted location: You need to copy your application in a trusted location: C:\program files' 'C:\program files x86' or 'C:/Windows/system32

It is not possible for you to write an application that does this. The task manager is an app with special privileges that you cannot give to other applications.

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