Hi all,
I am sure this question has been posted many times before, but anyway:
How do I display a message box in TGUI?
I have tried tgui::MessageBox::Create("Heading","Message",{"OK", "Cancel"});
Then I add it to the gui, and it displays in the upper left corner.
But how do I get the events from my buttons (OK or Cancel)?
Can someone give me a complete example. Then I can make a function that just displays the message and returns with a value.
Ingar