Display a dialog in a xbap?<p>It seems a dialog box could not be shown in a xbap?</p> <p>Thanks!</p>© 2009 Microsoft Corporation. Todos os direitos reservados.Thu, 19 Jun 2008 00:15:52 Zcd6c2a13-d0dc-40fa-bd0d-039faf6d4f07http://social.msdn.microsoft.com/Forums/pt-BR/wpf/thread/cd6c2a13-d0dc-40fa-bd0d-039faf6d4f07#cd6c2a13-d0dc-40fa-bd0d-039faf6d4f07http://social.msdn.microsoft.com/Forums/pt-BR/wpf/thread/cd6c2a13-d0dc-40fa-bd0d-039faf6d4f07#cd6c2a13-d0dc-40fa-bd0d-039faf6d4f07Lei Jianghttp://social.msdn.microsoft.com/Profile/pt-BR/?user=Lei%20JiangDisplay a dialog in a xbap?<p>It seems a dialog box could not be shown in a xbap?</p> <p>Thanks!</p>Thu, 13 Apr 2006 02:42:10 Z2006-04-25T20:56:59Zhttp://social.msdn.microsoft.com/Forums/pt-BR/wpf/thread/cd6c2a13-d0dc-40fa-bd0d-039faf6d4f07#3b65ebca-8254-441a-865b-abb99d0bc2dehttp://social.msdn.microsoft.com/Forums/pt-BR/wpf/thread/cd6c2a13-d0dc-40fa-bd0d-039faf6d4f07#3b65ebca-8254-441a-865b-abb99d0bc2deviliescuhttp://social.msdn.microsoft.com/Profile/pt-BR/?user=viliescuDisplay a dialog in a xbap?What do you mean by dialog box? You can show a MessageBox but you cannot show modal or non-modal windows.<br>Thu, 13 Apr 2006 13:29:46 Z2006-04-13T13:29:46Zhttp://social.msdn.microsoft.com/Forums/pt-BR/wpf/thread/cd6c2a13-d0dc-40fa-bd0d-039faf6d4f07#b1a34f05-8246-4287-a31a-b3754125d067http://social.msdn.microsoft.com/Forums/pt-BR/wpf/thread/cd6c2a13-d0dc-40fa-bd0d-039faf6d4f07#b1a34f05-8246-4287-a31a-b3754125d067Lei Jianghttp://social.msdn.microsoft.com/Profile/pt-BR/?user=Lei%20JiangDisplay a dialog in a xbap?Yes, what I mean is that why I can't show a modal window? In a typical client application, there are a lot of modal window to get user input. If these window can be shown in xbap, it must be much easier to migrate a client application to a xbap.Thu, 13 Apr 2006 13:35:02 Z2006-04-13T13:35:02Zhttp://social.msdn.microsoft.com/Forums/pt-BR/wpf/thread/cd6c2a13-d0dc-40fa-bd0d-039faf6d4f07#57a42c8a-c7eb-40cd-a4da-ea520c2968bahttp://social.msdn.microsoft.com/Forums/pt-BR/wpf/thread/cd6c2a13-d0dc-40fa-bd0d-039faf6d4f07#57a42c8a-c7eb-40cd-a4da-ea520c2968baAshish Shetty - MSFThttp://social.msdn.microsoft.com/Profile/pt-BR/?user=Ashish%20Shetty%20-%20MSFTDisplay a dialog in a xbap?<font size=2>Enabling any operation in the partial trust sandbox involves analyzing the implementation to ensure it poses no security risk to the end user. <em>A lot</em> of features important to developers in this space were made to safely work in the sandbox, in this version. Of course there are other features that you care about but we couldn't include in this version. Karen Corby has chimed in elsewhere in the forum that a feature request like this could be considered for future versions.</font>Thu, 13 Apr 2006 16:38:34 Z2006-04-13T16:38:34Zhttp://social.msdn.microsoft.com/Forums/pt-BR/wpf/thread/cd6c2a13-d0dc-40fa-bd0d-039faf6d4f07#d805f79d-5de8-4cd1-a42e-2b1040b802d7http://social.msdn.microsoft.com/Forums/pt-BR/wpf/thread/cd6c2a13-d0dc-40fa-bd0d-039faf6d4f07#d805f79d-5de8-4cd1-a42e-2b1040b802d7Lei Jianghttp://social.msdn.microsoft.com/Profile/pt-BR/?user=Lei%20JiangDisplay a dialog in a xbap?<p>This is not possible even in a Full-Trust environment, e.g. enterprise intranet?</p> <p>Another question is : is showing a window related to security risk?</p>Sat, 15 Apr 2006 02:01:11 Z2006-04-15T02:01:11Zhttp://social.msdn.microsoft.com/Forums/pt-BR/wpf/thread/cd6c2a13-d0dc-40fa-bd0d-039faf6d4f07#9cbe96c5-c83b-4a0e-b508-2e7fc4ad6923http://social.msdn.microsoft.com/Forums/pt-BR/wpf/thread/cd6c2a13-d0dc-40fa-bd0d-039faf6d4f07#9cbe96c5-c83b-4a0e-b508-2e7fc4ad6923Billy Porterhttp://social.msdn.microsoft.com/Profile/pt-BR/?user=Billy%20PorterDisplay a dialog in a xbap?<p>As noted in several places, this weakness is making is extremely difficult to use browser apps for any real life client aplications.</p>Sat, 15 Apr 2006 18:24:15 Z2006-04-15T18:24:15Zhttp://social.msdn.microsoft.com/Forums/pt-BR/wpf/thread/cd6c2a13-d0dc-40fa-bd0d-039faf6d4f07#a2c21f20-9f11-4e82-9283-c4f4f45dc891http://social.msdn.microsoft.com/Forums/pt-BR/wpf/thread/cd6c2a13-d0dc-40fa-bd0d-039faf6d4f07#a2c21f20-9f11-4e82-9283-c4f4f45dc891Karen Corby - MSFThttp://social.msdn.microsoft.com/Profile/pt-BR/?user=Karen%20Corby%20-%20MSFTDisplay a dialog in a xbap?<p>Yes, a fully trusted application (any app with SecurityPermission w/ UnmanagedCode flag and UIPermission with AllWindows flag) can lanch standalone windows.</p> <p>In some of your scenarios, it may be possible to use the Popup control to provide a dialog-like experience.</p> <p>In future versions of WPF, we hope to enable standalone windows in the internet sandbox.   As a part of the enabling process, as Ashish mentioned above, we will analyze both our implementation as well as provide some protection against phishing/spoofing.  Unfortunately, due to time/resourcing constraints, bringing Window into this version's internet sandbox was not possible.</p> <p>Your feedback here is really important to us - thank you!</p> <p> </p>Mon, 24 Apr 2006 22:18:13 Z2006-04-25T20:56:59Zhttp://social.msdn.microsoft.com/Forums/pt-BR/wpf/thread/cd6c2a13-d0dc-40fa-bd0d-039faf6d4f07#f14f5ee3-2425-49b8-903b-4d17ad68f0f5http://social.msdn.microsoft.com/Forums/pt-BR/wpf/thread/cd6c2a13-d0dc-40fa-bd0d-039faf6d4f07#f14f5ee3-2425-49b8-903b-4d17ad68f0f5drbhttp://social.msdn.microsoft.com/Profile/pt-BR/?user=drbDisplay a dialog in a xbap?<p>Now that we are getting closer to shipping, has anything changed with respect to being able to use a Window in an XBAP?</p> <p align=left> </p> <p align=left>Thanks</p> <p align=left>David</p> <p align=left><font face=Arial size=2></font> </p>Sun, 18 Nov 2007 23:10:40 Z2007-11-18T23:10:40Z