>You can do a periodic DoEvents() to get your updates to occur. But the call takes on the order of 0.25 seconds on a P166 class machine so you maybe only want to call it every 1000 iterations.
>
>>I would like show a blinking indicator or an animation to indicate that processing is taking place in my app.
>>
>>I have tried this already by using a timer to change the font colour on a button every .5 of a second. This works except when a mildly resource intensive task is happening, then the animation stops being displayed.
>>
>>I have thought about using a progress bar, but it wouldn't be appropriate in this case.
>>
>>Is there a better way to do animation?
Hi David.
The processing is taking place in a DLL that I call, so I can't do any manual calls after x number of iterations. Any other thoughts?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement