I’ve got some native alert windows that I’m popping up that are appearing below some of my windows which are set to be AlwaysOnTop
Since alert windows are used to notify the user of something important, I don’t think it’d be surprising to have them over the top of AlwaysOnTop windows. This would also match the behaviour on MacOS, where alerts appear on top of everything.
If this seems like a reasonable request, it’s a very easy change.
Add the flag
MB_TOPMOST when creating the window
juce_win32_Windowing.cpp Line 4177
Should change from:
UINT flags = MB_TASKMODAL | MB_SETFOREGROUND;
UINT flags = MB_TASKMODAL | MB_SETFOREGROUND | MB_TOPMOST;