|
-
August 28th, 2009, 06:50 PM
#7
Re: update form
 Originally Posted by vivendi
I think the GUI is painted slow because i have a multithreaded application.
Probably not the issue unless the worker threads are set to a higher priority and are starving the UI thread.
With regard to Application.DoEvents(). This is usually used to pump messages within a single threaded app doing a bunch of work in the UI thread that really should be a multithreaded app.
Because your app is multithreaded, you definitely shouldn't need DoEvents, unless..... your UI thread is blocked waiting for one of the worker threads to complete the work. If that is the case, remove the blockage.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|