Hi,
I am using ProgressDialog() class to show the progress bar in my plugin. I got the example from here.
This example works fine and shows a good progress bar but when I customized it to use for my code it stopped showing the progress percentage which was set using SetPercent().
Here is my code :
void ProgressBarDialog::Timer(const BaseContainer &msg)
{
GePrint("ProgressBarDialog::Timer() is called.");
GePrint("value of percentIncrease = " + String::FloatToString((percentIncrease)));
percentIncrease += 2.0f;
SetPercent(percentIncrease/100);
}
Also if I am using the SetPercent() in *void ProgressBarDialog::Main(C4DThread bt) function of ProgressDialog(), it is still not working.
Please help me with this as I am stuck with it for a long time.
Thanks In Advance.