MessageBoxIconType - is it possible to use custom icon

Hello,
I use:
NativeMessageBox::showOkCancelBox(AlertWindow::AlertIconType::WarningIcon, ....);

And I wonder is it possible to use my own or system icon instead juce icons?

For help great thanks in advance.
Best Regards.

I don’t think you can with the native message box. With the JUCE message box you can paint your own icon with a custom look and feel.

https://docs.juce.com/master/structAlertWindow_1_1LookAndFeelMethods.html#aa74eb4ad4d5c5606f9b6394ae8733c9e

Matt

Hmm… thanks for your help. I will consider your solution.
Best Regards