Microsoft first confirmed it would introduce a new Windows class for UWP (Universal Windows Platform) app developers at 2018’s Build conference.
The software giant is introducing a new Windows class to reduce the amount of code required to add multi-window support to MS Store apps. Now Microsoft has announced that AppWindow is that new Windows class.
Microsoft announced within a GitHub post that the new AppWindow class for developers is available in Windows 10 SDK Preview Build 18327. There the software giant provides further details pertaining to a new AppWindow class that simplifies adding multiple windows to UWP apps for developers. The GitHub page states:
One of the main scenarios we’re want to achieve with this initial version of our new windowing API is to make it easier to create multi-window experiences in your UWP apps, and we do this by removing one of the major hurdles that has been part of multi-window for UWP since its inception – that each window must have its own UI thread. With the introduction of our new window class, AppWindow, we remove that bar completely. All AppWindows you create run on the same UI thread from which you created them.
The new AppWindow class enables all new windows to open within the same UI thread. That greatly reduces the amount of coding required to add multi-window support to UWP apps. The
“Welcome, AppWindow” GitHub post includes an example of the AppWindow class that amounts to just nine lines of code.
So, the new AppWindow class is great news for UWP app developers. From the UWP app user perspective, AppWindow is also great news.
With the coding requirements for multi-window support greatly reduced, developers will probably release more MS store apps with multiple windows.
RELATED POSTS TO CHECK OUT: