Sub MySub
Msgbox2Async("CONFIRM YOUR CHOICE?", "SELECTION", "YES", "", "NO", Null, False)
Wait For Msgbox_Result (Result As Int)
If Result = DialogResponse.POSITIVE Then
ProgressDialogShow("WAIT FOR SEARCH...")
'.......
'Long elaboration.....
ProgressDialogHide
Return
End If
For me it works. I just put a Sleep(1000) as "Long elaboration"; it is probably the code of that processing that somehow prevents the display of the ProgressDialog.