U++ Forum - RDF feed
https://www.ultimatepp.org/forums/
downloading file progress bar
https://www.ultimatepp.org/forums/index.php?t=rview&goto=16873&th=3630#msg_16873
i am very happy that members here help me solving proplems that face me
now my program may do some process that take some time like downloading a file
Now i want to make the progress bar tell the user the progress
i know i need to do Multithreading but how can i do it ??
i didnt understand to example that comes with theIDE ... please help me
and thanks in advance]]>TeCNoYoTTa2008-07-18T15:44:55-00:00Re: downloading file progress bar
https://www.ultimatepp.org/forums/index.php?t=rview&goto=16880&th=3630#msg_16880
int retries = DEFAULT_RETRIES, Gate2<int, int> progress = false);
The last parameter, 'progress', defines a callback that is called to show to progress and allow the cancelation.
Progress class has 'operator Gate2<int, int>()', means you can directly connect it here, e.g. this should work: