Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Slider&ProgressIndicator » ProcessMessages question
ProcessMessages question [message #3821] Wed, 28 June 2006 14:33 Go to previous message
brianE is currently offline  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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Slider verticality bug or underdevelopment? [ADDED]
Next Topic: Use slider from layout designer?
Goto Forum:
  


Current Time: Sat Apr 27 04:08:54 CEST 2024

Total time taken to generate the page: 0.01789 seconds