• Entrar
  • Microsoft.com
  • Brasil (Português)
    Česká republika (Čeština)Deutschland (Deutsch)España (Español)France (Français)Italia (Italiano)United States (English)Россия (Русский)대한민국 (한국어)中华人民共和国 (中文)台灣 (中文)日本 (日本語)香港特别行政區 (中文)
 
 
Microsoft Developer Network
 
 
Homepage
 
 
Biblioteca
 
 
Aprender
 
 
Downloads
 
 
Suporte
 
 
Comunidade
 
 
Fóruns
 
 
 
Microsoft Developer Network > Página Inicial dos Fóruns > Windows Presentation Foundation (WPF) > Display a dialog in a xbap?
Fazer uma PerguntaFazer uma Pergunta
Pesquisar Fóruns:
  • Pesquisar Fórum Windows Presentation Foundation (WPF) Pesquisar Fórum Windows Presentation Foundation (WPF)
  • Pesquisar Todos os Fóruns MSDN Pesquisar Todos os Fóruns MSDN
 

RespondidoDisplay a dialog in a xbap?

  • quinta-feira, 13 de abril de 2006 2:42Lei Jiang Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    Votar como Útil
    0

    It seems a dialog box could not be shown in a xbap?

    Thanks!

    • ResponderResponder
    • CitaçãoCitação
     

Respostas

  • segunda-feira, 24 de abril de 2006 22:18Karen Corby - MSFT Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     Respondido
    Votar como Útil
    0

    Yes, a fully trusted application (any app with SecurityPermission w/ UnmanagedCode flag and UIPermission with AllWindows flag) can lanch standalone windows.

    In some of your scenarios, it may be possible to use the Popup control to provide a dialog-like experience.

    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.

    Your feedback here is really important to us - thank you!

     

    • ResponderResponder
    • CitaçãoCitação
     

Todas as Respostas

  • quinta-feira, 13 de abril de 2006 13:29viliescuModeradorMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    Votar como Útil
    0
    What do you mean by dialog box? You can show a MessageBox but you cannot show modal or non-modal windows.
    • ResponderResponder
    • CitaçãoCitação
     
  • quinta-feira, 13 de abril de 2006 13:35Lei Jiang Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    Votar como Útil
    0
    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.
    • ResponderResponder
    • CitaçãoCitação
     
  • quinta-feira, 13 de abril de 2006 16:38Ashish Shetty - MSFTModeradorMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    Votar como Útil
    0
    Enabling any operation in the partial trust sandbox involves analyzing the implementation to ensure it poses no security risk to the end user. A lot 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.
    • ResponderResponder
    • CitaçãoCitação
     
  • sábado, 15 de abril de 2006 2:01Lei Jiang Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    Votar como Útil
    0

    This is not possible even in a Full-Trust environment, e.g. enterprise intranet?

    Another question is : is showing a window related to security risk?

    • ResponderResponder
    • CitaçãoCitação
     
  • sábado, 15 de abril de 2006 18:24Billy Porter Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    Votar como Útil
    0

    As noted in several places, this weakness is making is extremely difficult to use browser apps for any real life client aplications.

    • ResponderResponder
    • CitaçãoCitação
     
  • domingo, 18 de novembro de 2007 23:10drb Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    Votar como Útil
    0

    Now that we are getting closer to shipping, has anything changed with respect to being able to use a Window in an XBAP?

     

    Thanks

    David

     

    • ResponderResponder
    • CitaçãoCitação
     
Precisa de Ajuda com Fóruns? (FAQ)
 
© 2009 Microsoft Corporation. Todos os direitos reservados.
Gerencie o seu Perfil
|
Nota Legal
|
Newsletter MSDN
|
Fale Conosco
|
Termos de Uso
|
Marcas Comerciais
|
Política de Privacidade