Dim respuesta As Object = xui.Msgbox2Async("Text", "Tittle", "Ok", "", "", Null)
Wait For (respuesta) Msgbox_Result (Resultado As Int)
If Resultado = xui.DialogResponse_Positive Then
Log(Resultado) 'Press OK
Else ' If the user presses the X icon, returns nothing
Log(Resultado)
End If