Is it possible to tell an out-of-browser Silverlight app to run in kiosk mode?
I can set it to full screen, but can we disable keystrokes that would allow a user with a keyboard to interact with Windows i.e. ctrl+alt+del, alt+tab, ctrl+esc etc.?
This is for an app that will run in full screen on a touchscreen tablet, most of the time there won't be a keyboard on-screen, but there is a "Connect to Facebook" function that will pop-up a keyboard for them to use to log-in.
Thanks, Greg.
Answer: 1
You need to install your application as a trusted Silverlight application. See reference:
http://msdn.microsoft.com/en-us/library/cc189023(v=vs.95).aspx
Full-Screen Mode with Trusted Applications
The full-screen message, user-initiation requirement, keyboard restrictions, and dialog-box restrictions do not apply to trusted applications. Additionally, trusted applications do not display the user-consent dialog box when using the StaysFullScreenWhenUnfocused setting.
In trusted applications, you can enter full-screen mode in a Application.Startup or FrameworkElement.Loaded event handler. However, you must do so by setting the IsFullScreen property in a delegate passed to the Dispatcher.BeginInvoke method.
Because the ESC key has no built-in effect for trusted applications, you can use it for your own purposes. In this case, you should implement and document an alternative so that users can exit full-screen mode.
by : Chui Teyhttp://stackoverflow.com/users/34461
No comments:
Post a Comment
Send us your comment related to the topic mentioned on the blog