R
Richard Coltrane
Hi there,
I have a custom progress bar control that is supposed to draw itself via
OnPaint whenever an internal timer ticks. Its for situations in which the
amount of time remaining cant be determined so it "progresses" in a loop.
When theres other more pressing work the internal timer that invalidates the
control and thus forces a repaint of the control doesn't tick....so the
update doesn't happen.
How can i ensure the OS gives my timer a fair slice of the cpu time so that
it can tick and trigger a repaint?
Thanks
Richard
I have a custom progress bar control that is supposed to draw itself via
OnPaint whenever an internal timer ticks. Its for situations in which the
amount of time remaining cant be determined so it "progresses" in a loop.
When theres other more pressing work the internal timer that invalidates the
control and thus forces a repaint of the control doesn't tick....so the
update doesn't happen.
How can i ensure the OS gives my timer a fair slice of the cpu time so that
it can tick and trigger a repaint?
Thanks
Richard