MFC and WinForms Integration

Demonstrate how to host a WinForm user control as a dialog or a view in an MFC application.
Download

MFC and WinForms Integration Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Free
  • Price:
  • Free
  • Publisher Name:
  • By Microsoft
  • Publisher web site:
  • http://www.microsoft.com/
  • Operating Systems:
  • Windows, Windows XP, Windows 2003
  • Additional Requirements:
  • Visual Studio 2005 July CTP.
  • File Size:
  • 240.25K
  • Total Downloads:
  • 26

MFC and WinForms Integration Tags


MFC and WinForms Integration Description

MFC and WinForms Integration is comprised of three MFC extension dlls, two WinForm user controls, and one main MFC MDI app. EXTDLL1 uses CWinFormsView to host the WinFormUserControlView1 user control as a CView window inside the MFC MDI app. Also uses command routing to send messages to the WinForms user control. EXTDLL2 shows how to host a WinForm user control as a static control inside an existing CView window. EXTDLL3 encapsulates the different ways a WinForm user control can be hosted in an MFC dialog, including using CDialog and CWinFormsDialog.


MFC and WinForms Integration Related Software