Re: What is the best way to do this...
- From: Michael Nemtsev <nemtsev@xxxxxxx>
- Date: Wed, 20 Sep 2006 16:33:57 +0000 (UTC)
Hello PiotrKolodziej,
This is reasonable solution, because main thread is not that place where task shoul be run
In you main window you can show the progress bar informing your user how long is remained to download
P> Hi
P> 1. app start
P> 2. user clicks Login Button
P> 3. Application connects to the serwer ( check login and download dir
P> list -
P> 1mb )
P> Problem is when application is executing method responsible for
P> dooing 3.
P> It takes time and i dont want my app to be "lagged".
P> I tought that i can create thread for this task. When thread will
P> finish the
P> only thing that remains is to fill treewiev in main thread ( so i
P> need to
P> invoke one method ).
P> is this good solution?
---
WBR,
Michael Nemtsev :: blog: http://spaces.live.com/laflour
"At times one remains faithful to a cause only because its opponents do not cease to be insipid." (c) Friedrich Nietzsche
.
- References:
- What is the best way to do this...
- From: PiotrKolodziej
- What is the best way to do this...
- Prev by Date: Re: Any ideas on this?
- Next by Date: Re: What is the best way to do this...
- Previous by thread: What is the best way to do this...
- Next by thread: Re: What is the best way to do this...
- Index(es):