Show modal DialogWindow from a non MessageThread

Hi everyone,

is it possible to show a model DialogWindows from a non MessageThread, to let
the alter some settings at runtime.
I tried it, but can’t get it working because of MessageManagerLock;

Cheers and nice weekend

No, all UI stuff has to be done on the message thread. You could call MessageManager::callFunctionOnMessageThread to do it, but you can very easily get yourself into nasty deadlocks that way. Best to send an async message that launches the dialog, and then make your thread wait for it to finish.

Thanks Jules…

MessageManager::callFunctionOnMessageThread works for me