Using the MFC Windows Forms support classes, you can host Windows Forms controls within your MFC applications as an ActiveX control within MFC dialog boxes or views. In addition, Windows Forms forms can be hosted as MFC dialog boxes. The following sections describe how to: Host a Windows Forms control in an MFC dialog box. Both MFC and WinForms provide similar complete support for printing, print preview, print settings, and page settings. OLE/Active Documents. Object Linking and Embedding is a technology for exposing and consuming data and the UI from one application into another. MFC provides complete support for this technology.
MFC Sample application for C1FlexGrid?
Posted by: deepak.hegde on 13 September 2020, 3:30 am EST
Web 前端开发和 Windows 桌面 Qt 开发哪个前景更好?
- Post Options:
Posted 13 September 2020, 3:30 am EST
We plan to migrate an MFC application from VsFlexGrid to a compatible control. The core MFC code will remain as it is. We are looking for a drop-in replacement (or something which requires minimal changes). Would C1FlexGridClassic be a good candidate? If so, is there an example application that describes how to use it with MFC?- Post Options:
Replied 13 September 2020, 8:33 pm EST
Hello,
C1FlexGridClassic control for the .Net architecture. However, you can try to use it in your MFC application same as other WinForms control. Please refer to the following link:
https://www.codeproject.com/Articles/12308/Using-WinForms-controls-in-an-MFC-dialog
Hope it helps.
Thanks,
Mohit