Soroush,
just my thoughts on that problem (as a windows user
🙂 )
In HMI the user should always be able to see and access the indicators and controls (if there are any
😉 )
If you splash your window with a unlimited number of dialog messages the operator might run into problems if he has to react ...
My suggestion (even if this treat is relatively old and you said it is solved): Feed your Messages in a named queue and run a separate process that handle ONE window (maybe not dialog, just stay on top). That gives you the opportunity to handle different priorities of the message(s) or some kind of history. If the most recent message is on top and you have to close that messagebox you might lost that information after you reached the initial problem causing message.
Greetings from Germany
Henrik
LV since v3.1
“ground” is a convenient fantasy
'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'