I'm porting a programming language to Windows that has commands like "create a window" and "create a pushbutton in that window". The programming language itself is implemented in C++.
I hear the newest, recommended UI API on Windows going forward is WinUI 3, but I couldn't really find any good information on how to define a GUI in code instead of loading it from XAML files.
How does one create a WinUI 3 GUI in code?