Using native alert window

Hi all,

When I am creating an AlertWindow which is showing up by .runModalLoop() function (that is not using the  AlertWindow static functions),  the setUsingNativeAlertWindows() has no effect on alert window being created. 

I tried everything I thought (i.e. LookAndFeel of alertwindow itself, default LookAndFeel, useNativetitlebar...) but nothing happened.

I have understood something wrong, or I missing something?

Thanks in advance

 

George

Firstly, avoid using runModalLoop!

Secondly, AlertWindow is just a normal juce component - if you create one and show it, that's exactly what you'll get. If you want a native OS window then that's an entirely different beast, and is handled by the static methods in the AlertWindow class.

Thanks Jules..