# Windows AlertWindow - appearing behind app/plug-in

**URL:** <https://forum.juce.com/t/windows-alertwindow-appearing-behind-app-plug-in/49612>\
**Category:** Windows\
**Created:** [January 11, 2022, 9:48am UTC](https://forum.juce.com/t/windows-alertwindow-appearing-behind-app-plug-in/49612 "2022-01-11T09:48:06Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![reuk](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/reuk/32/21494_2.png) [@reuk](https://forum.juce.com/u/reuk)\
**Post date:** [January 11, 2022, 10:22am UTC](https://forum.juce.com/t/windows-alertwindow-appearing-behind-app-plug-in/49612/2 "2022-01-11T10:22:23Z")

</div>

There was a similar issue reported the other day, but I wasn’t able to reproduce it:

> [@JUCE 6.1. broke NativeMessageBox](https://forum.juce.com/t/juce-6-1-broke-nativemessagebox/47619/5):
>
> I’m having a possibly related issue in Windows with modal dialogs, first noticed it with JUCE 6.1.2 and still having it now with 6.1.4. This is in a standalone app on Windows 10. In different places, I’m using both NativeMessageBox::showYesNoBox and NativeMessageBox::showMessageBox, and have JUCE\_MODAL\_LOOPS\_PERMITTED=1 in my preprocessor definitions. What happens is, when one of these is triggered, the spinning blue circle cursor appears, and the main window de-focuses and becomes unresponsi…

Does this sound like the same issue to you? Apparently the alert window wasn’t showing at all for the person in the other thread. For you, is the alert window definitely on-screen, but with the wrong z-ordering?

---

_[View the full topic](https://forum.juce.com/t/windows-alertwindow-appearing-behind-app-plug-in/49612)._
