2012-11-05 33 views
1

我正在开发教室控制软件。其中一个特点是,教师必须能够防止用户看到开始屏幕。在学生端运行的应用程序在Windows 8桌面上运行。我如何从C++代码阻止用户进入开始屏幕?如果这是不可能的,我可以强制应用程序在某些时候切换回桌面视图。这可以通过代码实现吗?Windows 8:以编程方式阻止启动窗口

+0

你说的是kiosk模式为您的应用程序? –

回答

2

由于这是一个复杂的话题,我不会在这里复制这些内容。创建一个Kiosk风格的应用程序取决于Authenticode签名的可执行文件和UIAccess清单属性。您还应该了解Certification requirements for Windows 8 desktop apps,因为如果设计不合适,信息亭样式的应用程序可能会带来很大的安全风险。

  1. Kiosk style application in Windows 8
  2. Desktop apps on top of Metro
  3. Using the uiAccess attribute of requestedExecutionLevel to Improve Applications Providing Remote Control of the Desktop
  4. Step 6: Create and Embed an Application Manifest (UAC)
相关问题