How to create a window like CWnd (MFC) in UWP

379 views Asked by At

I have a drawing application written in MFC before, now i consider to upgrade it to universal world by using UWP.
The app structure is like below: structure

which include:
1. App level (MFC code): file management.
2. Drawing lib (MFC code): provide a view (extend CWnd) for drawing to App.
3. Drawing lib (C++ code): engine for drawing.

With UWP, it seems like i can only reuse engine code C++ and start over with App and drawing lib MFC.

The problem is i still cannot found a CWnd equivalent in UWP to create a view for drawing without using XAML. Can anyone have solution?

Thanks,

0

There are 0 answers