Re: Intermittent work in UI thread
- From: jetan@xxxxxxxxxxxxxxxxxxxx ("Jeffrey Tan[MSFT]")
- Date: Tue, 16 Oct 2007 07:31:31 GMT
Hi Joseph,
Yes, I agree that using the build-in message queue of the GUI thread will
make us a bit easy for coding. But, as the OP stated, he wanted to keep the
UI responsive, so I assume that he will show visible windows. Then, this
depends on whether his background work is length or not. If the background
work will cost a lot of time, it definite will block the GUI message
dispatching which causes non-responsible for this UI thread. Sure, we may
use PeekMessage to lighten this problem.
Anyway, this depends on the OP's specific scenario. Thanks.
Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- Follow-Ups:
- Re: Intermittent work in UI thread
- From: Joseph M . Newcomer
- Re: Intermittent work in UI thread
- References:
- Intermittent work in UI thread
- From: Pedro Ferreira
- Re: Intermittent work in UI thread
- From: Almond
- Re: Intermittent work in UI thread
- From: Joseph M . Newcomer
- Intermittent work in UI thread
- Prev by Date: Re: Creating a user DLL in VC++
- Next by Date: Thread information
- Previous by thread: Re: Intermittent work in UI thread
- Next by thread: Re: Intermittent work in UI thread
- Index(es):
Relevant Pages
|
Loading