Hi folks,
is it possible to update a ProgressDialog's title inside the Main() function? I'm wanting to make the title "x of y complete". Doing this doesn't work:
// pseudo code
.. Main()
{
SetPercent(0.0);
for(int i = 0; i < 100;)
{
String title = String("Processing i+1 of 100");
SetTitle(title);
SetPercent((i + 1) / 100);
++i;
}
SetPercent(1.0);
}
I'm guessing because Main() is on another thread. Is this possible?
WP.