RE: UserControl hosting RichTextBox control doesn't work correctly in MFC dialog



Hi Mark,

Based on my understanding, you have a WinForm UserControl and host it in an
MFC application, but the UserControl doesn't work properly in an MFC
dialog. If I'm off base, please feel free to let me know.

I found a KB article discussing how to host a WinForm user control as a
dialog in an MFC application. You may visit the following link for more
information.

'WinFormIntegration Sample: Demonstrates Hosting a WinForms User Control in
an MFC Application '
http://msdn2.microsoft.com/en-us/library/ms239718(VS.80).aspx

Hope this helps.
If you have any question, please feel free to let me know.

Sincerely,
Linda Liu
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.

.



Relevant Pages

  • RE: Disabling VB generated error message inUnhandledException even
    ... winform project, I am assuming that you are using .Net Winform. ... called by a pre-registered Application.ThreadException handler of VB2005. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: How to call an SSIS package from ASP.NET 2.0?
    ... Winform application is quite different from ASP.NET ... I suggest you check the ASP.NET application's running security identity ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: ClickOnce Security Probleme in VS2008 AND VS2005
    ... My application is a WinForm application. ... All my ClickOnce projects work before I install VS2008... ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.vsnet.general)
  • RE: unable to debug web service project
    ... you found that the winform project can not step into the ... webservice project when debugging, correct? ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Difference with using between 1.1 and 2.0?
    ... To answer your questions, the application type is a Winform application, the ... snippet I provided was being run by a button event handler in the main thread. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.clr)

Loading