Is it possible to use an XAML UI in a C++ program?

Viewed 39

I work on a 20 year old program which has alot of CDialogs inside. They are all called DoModal(). My users wish a more modern UI. In the past I have written C# apps with WPF and I wonder if I could add a new dialog into my old C++ program which is a XAML Dialog?

Alternativ: I would like to seperate my current C++ program into 2 part: keeping the the logical part in C++ and redesign the Dialogs with XAML.

Is this directly possible?

Some time ago I had another project where I had a C# dll used in a C++ programm. Can I do it that way? How can I return the UI values and user actions to my C++ code then which has the logic about what to do with the inputs?

0 Answers
Related