|
|
Home » U++ Library support » Slider&ProgressIndicator » ProcessMessages question
ProcessMessages question [message #3821] |
Wed, 28 June 2006 14:33  |
brianE
Messages: 13 Registered: June 2006
|
Promising Member |
|
|
I hope this is the right corner to be in...
Two related questions:
If ProgInd needs value and maxval to indicate progress then can I assume that there is a ProcessMessages or similar at work when inside a long loop? ie
for (int j=0;j<5000;j++)
{
// do something
ProgInd.Set(j,5000);
}
If I have a 'while' loop I cannot play that game (I don't know maxval) but I can show progress by writing to an EditInt:
int j = 0;
while (j<someval)
{
// do something
EdInt <<= j++;
}
But it never shows until the end! I need a ProcessMessages don't I? How do I accomplish this? Of course, I could be wrong and I hope you will set me on the right path.
BrianE
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Tue Apr 29 15:59:32 CEST 2025
Total time taken to generate the page: 0.00878 seconds
|
|
|