in reply to Using Tk::ProgressBar

I beleive that you will need to use threads to allow the ProgressBar to be displayed with the main loop while doing the work that your application needs to do.

UPDATE: Just realized that you would need threads::shared in order for this method to work.

I am sure that there are better ways of doing this, but I am not sure what