How to draw above the Windows 8 Metro interface?

雨燕双飞 提交于 2019-12-06 22:13:35
  1. Demand the UIAccess integrity level in application manifest by specifying UIAccess=”true” in the requestedPrivileges attribute.
  2. Make the window topmost (change the position via SetWindowPos or set the TopMost property in WinForms/WPF)
  3. Sign the application using a digital certificate that chains up to a trusted root in the local machine Trusted Root Certification Authorities certificate store.
  4. run directly (that is, not from a debugger) from a secure location in the file system. You can attach a debugger afterwards.

Note this make your application running elevated, you may have issues when you need to connect to your application from a lower integrity level.

There is already an interface for what you're trying to do: Touch Injection. You can specify that you have contacts in range but not in contact with the screen, and a little circle will appear on the screen. You don't need to draw the circles yourself; the touch system will do it for you.

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