On Wed, 24 Sep 2008 05:02:59 -0700 (PDT), James <jim_ej@xxxxxx>
wrote:
Sorry, my English is poor, I can't understand what you talk very
clearly, but I experience the Modal dialog behind parent.
my solution is :
ModalWindow dialog = new ModalWindow();
dialog.Owner = parentWindow;
dialog.ShowModal();
>I'm main developer on a WPF project which is in the early stages of
>being rolled out to a large number of customers. A few maybe 5% of
>customers are experiencing an issue where windows are appearing behind
>other windows when they should not. This has happened both with
>Popups and windows opened with ShowModal, and is occurring on XP
>machines. I've heard reports that rebooting the machine can solve the
>problem!
>
>The application is structured with a large container window that is
>the Owner of the other windows created in the app. One reproducible
>bug I've encountered is that closing one of these child windows can
>leave the container in a non-active state causing another application
>to become activated and show in front of the container window.
>
>Window z-ordering in win XP has always seemed flaky to me, is WPF
>interacting with it in an unpleasant way? Anyone experienced this?
>Any work arounds gratefully received.
>
>James