views:

1688

answers:

2

I'm writing a Silverlight application that can go "full screen" (think YouTube full screen). This is simple enough. However, I want to offer the user the ability to KEEP the app full screen even if they click away.

My users have multiple monitors and so it doesn't always make sense to shrink the app back into the browser. At present, if they make my app full screen they see the "Press ESC to exit full screen" message and then any clicks to apps on their other monitor causes the full screen Silverlight app to shrink back.

I believe this behaviour of Silverlight (and Flash for that matter) is a security feature to prevent people writing apps that remain full screen. However, I'm wondering if there's an "opt in" way of letting users say "I don't mind you remaining full screen".

I'm also interested in knowing whether this can be done with Flash.

+1  A: 

See http://stackoverflow.com/questions/878460/why-would-this-fix-the-dual-monitor-issue-in-flash for flash.

alamar
Interesting. A little hacky, but interesting.
Martin Peck
+2  A: 

I don't believe this is possible in Silverlight - as you rightly say there is restricted control when in full screen because of security concerns.

Ian Blackburn
I'm going to accept this answer over the flash "hack" because it's a fair reflection of the situation. i.e. it's not possible to do this in a supported way with Silverlight.
Martin Peck