Update progress bar from event of other class

In mfc dialog based application i write one common class containing functions which are used in overall project,in that functions i take one parameter to increase progress bar status,and this progress bar in parent application dialog which increment once & stops;it not show progress of bar according to data sending or receiving or variable update in application.So my question is how to update progress bar according data send or receive in application?
Thanks in advance
Topic archived. No new replies allowed.