Re: Create a WS_CHILD window in another thread with its own WinPro
- From: jetan@xxxxxxxxxxxxxxxxxxxx ("Jeffrey Tan[MSFT]")
- Date: Fri, 23 Feb 2007 03:04:01 GMT
Hi Doc,
Thanks for the feedback.
Sorry, currently, I do not think I understand your problem context
completely. Based on the WS_CLIPCHILDREN description in MSDN, it will
exclude the area occupied by child windows when drawing occurs within the
parent window. So it sounds suitable for your scenario. If it does not work
for you, please feel free to tell me, thanks.
Do you create 2 top-level windows in 2 separate threads or 2 child windows
in separate threads? I do not recommend you to create the child windows in
separate threads. For legacy reason, win32 standard controls are
encapsulated using STA threading model, so normally all the windows should
be placed in a single GUI thread, or some strange threading issue may
occur. Yes, it may be feasibility to place 2 top-level windows in different
threads, however, this is a rare situation(Explorer process place different
top-level windows in separate threads). You always need a message loop in a
GUI thread.
Can you tell me why do you need 2 threads for the windows? 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.
.
- References:
- Re: Create a WS_CHILD window in another thread with its own WinProc
- From: Norman Bullen
- Re: Create a WS_CHILD window in another thread with its own WinPro
- From: "Jeffrey Tan[MSFT]"
- Re: Create a WS_CHILD window in another thread with its own WinProc
- Prev by Date: Re: SPY++ very slow on 64-bit
- Next by Date: RE: Binding to ExtendedProperties or properties of a strongly type
- Previous by thread: Re: Create a WS_CHILD window in another thread with its own WinPro
- Next by thread: Re: Create a WS_CHILD window in another thread with its own WinPro
- Index(es):
Relevant Pages
|
Loading