MFC and WinForms Integration
MFC and WinForms Integration
Developer Tools  |  2025-01-11 13:40:47
introduction detail hot all type
Developer's DescriptionBy MicrosoftDemonstrate how to host a WinForm user control as a dialog or a view in an MFC application.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.

detailed information

  • size:0MB
  • platform:windows
  • version:1.0
  • type:Developer Tools
  • update time:2025/01/11 13:40:47

hot

all type

more +
MFC and WinForms Integration
MFC and WinForms Integration
Developer Tools|0MB