Where do you update the progress bar

I have made a progress bar using a resource diaglog control , its up and running fine but how do i update the empty bar now?

Thanks
This is the Windows Control Library: http://msdn.microsoft.com/en-us/library/windows/desktop/bb773169(v=VS.85).aspx . In there you'll find all the information you need, not just for the progress bar, but for all other Windows controls. Save it and use it as reference. Very handy.
Thanks for the quick reply, are you suppose to call the SendMessage stuff for the progress bar in WM_PAINT ?
Not in WM_PAINT but whenever the progress changes, like in the loop of a computation.
Topic archived. No new replies allowed.