c# - How do I display an MFC control in a windows forms application? -


I want to create a window form control which CIPAddressCtrl is a working text property and TextChanged With the event. How do I view MFC control in a windows form? If necessary, I'm happy to use C ++ / CLI.

Note: I'm not asking how to control a new window form; I want to host legacy control in one of the windows forms.

Offers a solution that will wrap your MFC control. The control override has been used by its suburban windows: OnHandleCreated the rest of the code, the properties of MFC control are manually wrapped with .NET properties.


Comments

Popular posts from this blog

.net - C# List<T>.Find(x=>x.Rectangle.Contains(Point)) FAIL -

iphone - Smoothing a rounded stroke in Core Graphics -

c++ - QtQuick: QQmlApplicationEngine failed to load component qrc:/main.qml:23 Invalid attached object assignment -