I've googled like crazy but I can't find anything efficient regarding opening a new OOB window from an OOB silverlight 4 application.
I've found ways to manually initiate a web browser window to pop, but not another OOB silverlight child window that's NOT modal.
Apparently this functionality is in Silverlight 5 but as of now, upgrading from 4 to 5 is not a viable option.
Has anyone come up with any work-around or trick to do this?
Thx.
I was able to tweak/modify some of this code to come up with a solution:
http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2010/09/16/silverlight-out-of-browser-and-multiple-windows.aspx
Related
I am building a wpf touch oriented app for windows 8 and I need to remove the posibility of accidentally swiping the left edge of the screen and end up in another application not meant for the user. Is there a way to disable this for this specific application? Perhaps programatically. I have the same problem with the charm bar. Can anybody help?
Have a look on below link
http://social.msdn.microsoft.com/Forums/en-US/visualstudiogeneral/thread/1882cba3-8e6a-44c7-a1ba-b309e469aef8
I think rather than stackoverflow you should go for msdn forum
is there a way to have NotificationWindow in browser?
I need NotificationWindow in browser not in "out of browser".
Like AnthonyWJones said, in Silverlight 4 the NotificationWindow is restricted to Out Of Browser use.
However with Silverlight 5, apps will be able to run in the browser with elevated permission (under certain conditions).
That means that the NotificationWindow will work in the browser.
More info on Silverlight 5 in-browser trusted apps here
Silverlight exclusively limits NotificationWindow to OOB use. You will need to find something else outside of Silverlight to acheive the requirement.
As guys said, there is no NotificationWindow in browser for Silverlight 4. For solving this issue you can choose different ways: first is just to wait for release of SL 5 or on the other hand - implement your own MessageBox with desired functionality. Regarding second one I can help with some code samples.
I got a short and (I hope) easy Question.
Is it possible to extend the Aero Glass into a out of browser window in a Silverlight application? I guess the question is wether or not it can access DwmApi.dll...
Does anyone have a solution or clue to this?
Thanks in advance.
If the application is trusted, you could create a COM component to perform the behaviors you want. In SL5, trusted applications will be able to directly call Win32 APIs.
Currently I'm trying to do create an out of browser application that captures the whole screen. Not just the Silverlight application.
Now I know that this is not possible with plain Silverlight & C#, but you need to do some dllimports and stuff, it needs to run OOB and you need an elevated application. That is no problem at all.
I found some code on the internet, but I'm stuck. Since Silverlight doesn't have a System.Drawing namespace and thus no Bitmap. Now I can't cast my GDI+ pointer to something I can display in my Silverlight application.
The code I'm using is from this link: http://www.codeproject.com/KB/cs/DesktopCaptureWithMouse.aspx
Can anybody kick me in the right direction? ;)
Seems that it is not possible without a lot of hacking with native code.
We may not have the option to migrate over to Silverlight 4 right away, so I was wondering if anyone found a way to remove the source domain name from the window's title for out-of-browser Silverlight 3 applications. Our window title currently looks like this: "My App - localhost."
Under Mac, I found the Info.plist file in the application bundle and found where you can set the Bundle name property as well as TrimmedSourceDomain. Unfortunately, when I clear the TrimmedSourceDomain property, the title looks like "My App -," and if I delete the property entirely, the application doesn't launch. I assume similar problems would occur under Windows. Have any of you found a workaround?
Sliverlight 4 specifically mentions "chrome" as one of its new features. I've heard recently from an MS Developer Evangelist that the new chrome feature includes not having any at all. My hunch, therefore, is that SL3 OOB applications cannot have their chrome removed.
I think the answer is simply "no." It looks like it still can't be done under Silverlight 4, either. You can, under SL 4 do custom Chrome, but that's the closest thing to do that I can find.