Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
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
venkat
Posted
Comments
Sergey Alexandrovich Kryukov 14-Oct-13 3:16am    
http://whathaveyoutried.com so far? What's the problem?
—SA

1 solution

Assuming you mean a CProgressCtrl[^], you call the appropriate methods to advance the bar as your application progresses. You can do this in the code where the data transfers take place, or use a timer to check it at regular intervals.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900